AsymmetricCipher.init
void init(bool encrypt, Key key)Initializes the cipher with the given key.
Parameters
encrypt | true for encryption, false for decryption. |
key | The key (PublicKey for encryption, PrivateKey for decryption). |
void init(bool encrypt, Key key)Initializes the cipher with the given key.
encrypt | true for encryption, false for decryption. |
key | The key (PublicKey for encryption, PrivateKey for decryption). |