Skip to content

seacom93/CFUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFMXCompat

Use CFMX Compat encryption in C# (This is primarily compiler generated code).

Description

This replicates the functionality of ColdFusions "encrypt" function in C#, specifically the UU encoded CFMX_Compat alogrithim.

This is simply a C# fork of TommyWo's CFMX Compat for Java (https://github.com/tommywo/cfmx_compat).

This could be further turned into a CLR function for SQL Server to decrypt/encrypt values in the database or as an extension for New Atlantas Blue Dragon (which doesnt implement CFMXCompat)

Usage

ColdFusion.CFMXCompat.encrypt(Value, "YourSeedStringHere");

You may also be URL Encoding it in ColdFusion for compatibility you can do:

WebUtility.UrlEncode(ColdFusion.CFMXCompat.encrypt(Value, "YourSeedStringHere"));

Decryption

ColdFusion.CFMXCompat.decrypt(WebUtility.UrlDecode(Value), "YourSeedStringHere");

About

CFMX Compat support in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages