Modifier and Type | Field and Description |
---|---|
(package private) static String |
B64T
Table with characters for Base64 transformation.
|
Constructor and Description |
---|
B64() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
b64from24bit(byte b2,
byte b1,
byte b0,
int outLen,
StringBuilder buffer)
Base64 like conversion of bytes to ASCII chars.
|
(package private) static String |
getRandomSalt(int num)
Generates a string of random chars from the B64T set.
|
static final String B64T
B64()
static void b64from24bit(byte b2, byte b1, byte b0, int outLen, StringBuilder buffer)
b2
- A byte from the result.b1
- A byte from the result.b0
- A byte from the result.outLen
- The number of expected output chars.buffer
- Where the output chars is appended to.static String getRandomSalt(int num)
num
- Number of chars to generate.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses