GitXplorerGitXplorer
t

cfmx_compat

public
3 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
4e75daf454592e75ae4579b465dfaf19182c8402

Update README.md

ttommywo committed 9 years ago
Unverified
da6dc955dc204514af2b2ba85a96207e30473865

Update README.md

ttommywo committed 9 years ago
Unverified
fb231ff674d9c24cfb05f9acad669701de1fd963

Merge pull request #2 from tommywo/readme

ttommywo committed 9 years ago
Unverified
c343c31b13d9f68cedb4b44c5c5219c2c7635c9e

Update README.md

ttommywo committed 9 years ago
Unverified
4ed3766f960373fa970f03b7eed23a4a27d9b348

Merge pull request #1 from tommywo/fixes

ttommywo committed 9 years ago
Unverified
991a0b5ee36fc0548f056643d227e99e6e29638a

fixes

ttommywo committed 9 years ago

README

The README file for this repository.

CFMX_Compat

Travis branch Codecov branch Maven Central VersionEye LGPLv3

Java library for encoding and decoding using cfmx_compat algorithm.

Algorithm is taken from railo source.

<dependency>
    <groupId>pl.wojtun</groupId>
    <artifactId>cfmxcompat</artifactId>
    <version>0.0.1</version>
</dependency>

Usage:

String key = "secretkey"
String plain = "plain text value"

encrypted = CFMXCompat.encrypt(plain, key)
decrypted = CFMXCompat.decrypt(encrypted, key)

encrypted = CFMXCompat.encrypt(plain, key, "uu")
decrypted = CFMXCompat.decrypt(encrypted, key, "uu")

encrypted = CFMXCompat.encrypt(plain, key, "hex")
decrypted = CFMXCompat.decrypt(encrypted, key, "hex")

encrypted = CFMXCompat.encrypt(plain, key, "base64")
decrypted = CFMXCompat.decrypt(encrypted, key, "base64")