| Modifier and Type | Field and Description |
|---|---|
| private static final FastThreadLocal | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: an encoded string containing the dataThe data to encode data)Performs base64 encoding on the specified data. |
| pack-priv static String | |
| pack-priv static byte[] | Returns: an array of random bytesthe number of random bytes to create size)Creates an arbitrary number of random bytes. |
| pack-priv static byte[] | Returns: the hashed dataThe data to hash data)Performs a SHA-1 hash on the specified data. |
| SHA1 | back to summary |
|---|---|
| private static final FastThreadLocal<MessageDigest> SHA1 | |
| V13_ACCEPT_GUID | back to summary |
|---|---|
| private static final String V13_ACCEPT_GUID | |
| WebSocketUtil | back to summary |
|---|---|
| private WebSocketUtil() | |
| base64 | back to summary |
|---|---|
| pack-priv static String base64(byte[] data) Performs base64 encoding on the specified data.
| |
| calculateV13Accept | back to summary |
|---|---|
| pack-priv static String calculateV13Accept(String nonce) | |
| randomBytes | back to summary |
|---|---|
| pack-priv static byte[] randomBytes(int size) Creates an arbitrary number of random bytes.
| |
| sha1 | back to summary |
|---|---|
| pack-priv static byte[] sha1(byte[] data) Performs a SHA-1 hash on the specified data.
| |