public interface PathEncryptorDecryptor
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(AuthPathEncryptionSecretKey pathSecretKey,
byte[] encryptedPath,
byte[] associated) |
byte[] |
encrypt(AuthPathEncryptionSecretKey pathSecretKey,
byte[] originalPath,
byte[] associated) |
byte[] encrypt(AuthPathEncryptionSecretKey pathSecretKey, byte[] originalPath, byte[] associated)
pathSecretKey - entity that contains keys for encrypt pathoriginalPath - path to encryptassociated - Associated data to authenticatepathSecretKeybyte[] decrypt(AuthPathEncryptionSecretKey pathSecretKey, byte[] encryptedPath, byte[] associated)
pathSecretKey - entity that contains keys for decrypt pathencryptedPath - path to decryptassociated - Associated data to authenticatepathSecretKeyCopyright © 2020. All rights reserved.