public interface IAsymmetricalEncryptor
Modifier and Type | Method and Description |
---|---|
byte[] |
encrypt(byte[] bytes) |
void |
importParameters(byte[] exponent,
byte[] modulus) |
byte[] encrypt(byte[] bytes) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException
void importParameters(byte[] exponent, byte[] modulus) throws NoSuchAlgorithmException, InvalidKeySpecException
Copyright © 2016. All Rights Reserved.