mura

Class cryptUtility

WEB-INF.cftags.component
    extended by mura.cryptUtility

I provide easy access to Java's HMAC security / crypto methods.

Class Attributes:
  • output : false
  •  
    Constructor Summary
    init()
    Method Summary
    any _encodeByteArray([Any bytes], [String encoding='hex'])
    any _getMacInstance([String algorithm], [String key])
    any _hashInputWithAlgorithmAndKey([String algorithm], [String key], [String input])
    any hmacMd5([String key], [String input], [String encoding='hex'])
    any hmacSha1([String key], [String input], [String encoding='hex'])
    any hmacSha256([String key], [String input], [String encoding='hex'])
    any sha1([any algorithm])
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    _encodeByteArray

    public any _encodeByteArray([Any bytes], [String encoding='hex'])

    Parameters:
    bytes
    encoding

    _getMacInstance

    public any _getMacInstance([String algorithm], [String key])

    Parameters:
    algorithm
    key

    _hashInputWithAlgorithmAndKey

    public any _hashInputWithAlgorithmAndKey([String algorithm], [String key], [String input])

    Parameters:
    algorithm
    key
    input

    hmacMd5

    public any hmacMd5([String key], [String input], [String encoding='hex'])

    Parameters:
    key
    input
    encoding

    hmacSha1

    public any hmacSha1([String key], [String input], [String encoding='hex'])

    Parameters:
    key
    input
    encoding

    hmacSha256

    public any hmacSha256([String key], [String input], [String encoding='hex'])

    Parameters:
    key
    input
    encoding

    sha1

    public any sha1([any algorithm])

    Parameters:
    algorithm