public class TrivialCrypt extends AbstractCrypt
Constructor and Description |
---|
TrivialCrypt() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
crypt(byte[] input,
int mode)
Crypts the given byte array
|
decryptUrlSafe, encryptUrlSafe, getKey, setKey
protected byte[] crypt(byte[] input, int mode) throws GeneralSecurityException
AbstractCrypt
crypt
in class AbstractCrypt
input
- byte array to be cryptedmode
- crypt modeGeneralSecurityException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.