| java.lang.Object | |
| ↳ | com.microstrategy.utils.crypto.CryptoHTML |
Encryption of strings. The encrypted string is HTML safe, i.e. may be used in the URL. Class is thread safe.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
decrypt(byte[] key, String encryptedText)
Decrypts a
CryptoHTML encrypted string. | ||||||||||
| String |
encrypt(byte[] key, String plainText)
Encrypts a string.
| ||||||||||
| static CryptoHTML |
getInstance()
This instance utilizes a 64-bit Blowfish cipher, which provides basic security
measures against casual snooping, but should not be used for
confidential/classified data.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Decrypts a CryptoHTML encrypted string.
| key | encryption key - this should be the same key that was used to encrypt the data |
|---|---|
| encryptedText | encrypted string |
Encrypts a string. String must be non-null otherwise a
NullPointerException will be thrown.
| key | encryption key (8-bytes) |
|---|---|
| plainText | string |
This instance utilizes a 64-bit Blowfish cipher, which provides basic security measures against casual snooping, but should not be used for confidential/classified data.
CryptoHTML singleton