mura

Class cryptUtility

lucee.Component
    extended by mura.cryptUtility

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

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : 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 lucee.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