static fun encryptInteractiveDetached(message: Bytes!, password: String!): DetachedEncryptionResult!
(source)
Encrypt a message with a password, generating a detached message authentication code, using PasswordHash
for the key generation (with the currently recommended algorithm and limits on operations and memory that are suitable for interactive use-cases).
message
- Bytes!: The message to encrypt.
password
- String!: The password to use for encryption.
Return
DetachedEncryptionResult!: The encrypted data and message authentication code.
static fun encryptInteractiveDetached(message: ByteArray!, password: String!): DetachedEncryptionResult!
(source)
Encrypt a message with a password, generating a detached message authentication code, using PasswordHash
for the key generation (with the currently recommended algorithm and limits on operations and memory that are suitable for interactive use-cases).
message
- ByteArray!: The message to encrypt.
password
- String!: The password to use for encryption.
Return
DetachedEncryptionResult!: The encrypted data and message authentication code.
static fun encryptInteractiveDetached(message: Bytes!, password: String!, algorithm: Algorithm!): DetachedEncryptionResult!
(source)
Encrypt a message with a password, generating a detached message authentication code, using PasswordHash
for the key generation (with limits on operations and memory that are suitable for interactive use-cases).
message
- Bytes!: The message to encrypt.
password
- String!: The password to use for encryption.
algorithm
- Algorithm!: The algorithm to use.
Return
DetachedEncryptionResult!: The encrypted data and message authentication code.
static fun encryptInteractiveDetached(message: ByteArray!, password: String!, algorithm: Algorithm!): DetachedEncryptionResult!
(source)
Encrypt a message with a password, generating a detached message authentication code, using PasswordHash
for the key generation (with limits on operations and memory that are suitable for interactive use-cases).
message
- ByteArray!: The message to encrypt.
password
- String!: The password to use for encryption.
algorithm
- Algorithm!: The algorithm to use.
Return
DetachedEncryptionResult!: The encrypted data and message authentication code.