public interface EncryptFactory
| Modifier and Type | Field and Description | 
|---|---|
| static byte[] | EMPTY_BYTESEmpty byte array | 
| Modifier and Type | Method and Description | 
|---|---|
| default java.lang.String | decrypt(java.lang.String s)Decrypt the text. | 
| byte[] | decryptBytes(java.lang.String s)Decrypt the text to bytes. | 
| default char[] | decryptChars(java.lang.String s)Decrypt the text. | 
| default java.lang.String | encrypt(byte[] bytes)Encrypt the bytes. | 
| default java.lang.String | encrypt(char[] chars)Encrypt the text. | 
| default java.lang.String | encrypt(java.lang.CharSequence cs)Encrypt the text. | 
| default java.lang.String | encrypt(java.lang.String s)Encrypt the text. | 
| byte[] | encryptBytes(byte[] bytes)Encrypt the bytes. | 
| default byte[] | getBytes(char[] chars)Get the bytes for the characters. | 
| default byte[] | getBytes(java.lang.CharSequence cs)Get the bytes for the characters. | 
| default byte[] | getBytes(java.lang.String s)Get the bytes of the text. | 
| default java.nio.charset.Charset | getCharset()Get the character set. | 
default java.lang.String decrypt(java.lang.String s)
s - the text.byte[] decryptBytes(java.lang.String s)
s - the text.default char[] decryptChars(java.lang.String s)
s - the text.default java.lang.String encrypt(byte[] bytes)
bytes - the bytes.default java.lang.String encrypt(char[] chars)
chars - the characters.default java.lang.String encrypt(java.lang.CharSequence cs)
cs - the character sequence.default java.lang.String encrypt(java.lang.String s)
s - the text.byte[] encryptBytes(byte[] bytes)
bytes - the bytes.default byte[] getBytes(char[] chars)
chars - the characters.default byte[] getBytes(java.lang.CharSequence cs)
cs - the character sequence.default byte[] getBytes(java.lang.String s)
s - the text.default java.nio.charset.Charset getCharset()