| Package | Description |
|---|---|
| rs.baselib.crypto |
Provides support for encrypting, decrypting and signing streams.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Encrypter.encrypt(byte[] bytes)
Encrypt a byte array
|
String |
Encrypter.encrypt(String str)
Takes a single String as an argument and returns an encrypted version
of that string.
|
| Constructor and Description |
|---|
Encrypter(byte[] bytephrase,
byte[] salt,
int iterationCount)
Constructor from passphrase, salt and iteration spec.
|
Encrypter(char[] passphrase)
Constructor from passphrase.
|
Encrypter(char[] passphrase,
byte[] salt)
Constructor from passphrase.
|
Encrypter(Key key,
String algorithm)
Constructor from secret key.
|
Encrypter(Key key,
String algorithm,
AlgorithmParameterSpec paramSpec)
Constructor from secret key.
|
Encrypter(Key key,
String algorithm,
byte[] salt,
int iterationCount)
Constructor from secret key.
|
Encrypter(String passphrase)
Constructor from passphrase.
|
Encrypter(String passphrase,
byte[] salt)
Constructor from passphrase.
|
Encrypter(String passPhrase,
byte[] salt,
int iterationCount)
Constructor from passphrase, salt and iteration spec.
|
Copyright © 2014. All rights reserved.