PHP encryption code converted to ColdFusion

后端 未结 2 1567
梦毁少年i
梦毁少年i 2021-01-07 15:24

I have this bit of PHP that I\'d like to do the equivalent of in ColdFusion.

function & _encryptMessage( $message ) {

   $td = mcrypt_module_open( MCRY         


        
2条回答
  •  盖世英雄少女心
    2021-01-07 15:52

    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c52.html

    You could do something as simple as:

    
    
    

    or even this:

    
    

    Doing something like this is usually what i do for password storage and other sensitive data.

    Hope that the link and/or examples help, Brds

提交回复
热议问题