001 /** 002 * Implements the CFML Function encrypt 003 */ 004 package railo.runtime.functions.other; 005 006 import railo.runtime.PageContext; 007 import railo.runtime.exp.PageException; 008 import railo.runtime.ext.function.Function; 009 010 public final class CFusionEncrypt implements Function { 011 012 public synchronized static String call(PageContext pc , String string, String key) throws PageException { 013 return Encrypt.call(pc,string,key,"cfmx_compat","hex"); 014 } 015 016 }