public interface V1LocalCryptoProvider
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encryptedBytes,
byte[] footer,
byte[] nonce,
javax.crypto.SecretKey sharedSecret) |
static byte[] |
doCipher(int mode,
byte[] key,
byte[] nonce,
byte[] input) |
byte[] |
encrypt(byte[] payload,
byte[] footer,
byte[] nonce,
javax.crypto.SecretKey sharedSecret) |
default byte[] |
nonce(byte[] payload,
byte[] randomBytes) |
byte[] encrypt(byte[] payload,
byte[] footer,
byte[] nonce,
javax.crypto.SecretKey sharedSecret)
byte[] decrypt(byte[] encryptedBytes,
byte[] footer,
byte[] nonce,
javax.crypto.SecretKey sharedSecret)
default byte[] nonce(byte[] payload,
byte[] randomBytes)
static byte[] doCipher(int mode,
byte[] key,
byte[] nonce,
byte[] input)
Copyright © 2019-2020 paseto.dev. All Rights Reserved.