Translations: API/9/ko
From ArdorDocs
Operation | Code | Return |
---|---|---|
Sign | Crypto.sign(byte[] message, String secretPhrase)
|
byte[]
|
Verify | Crypto.verify(byte[] signature, byte[] message, byte[] publicKey)
|
Boolean
|
Encrypt | Account.encryptTo(byte[] publicKey, byte[] data, String senderSecretPhrase, boolean compress)
|
EncryptedData
|
Decrypt | Account.decryptFrom(EncryptedData encryptedData, String recipientSecretPhrase, boolean uncompress)
|
byte[]
|
Sha256 | Crypto.sha256().digest(byte[] b)
|
byte[]
|
Compress | Convert.compress(byte[] bytes)
|
byte[]
|
Uncompress | Convert.uncompress(byte[] bytes)
|
byte[]
|