secret-values

API Reference

secret-values

Secret values is a Common Lisp library designed to reduce the risk of accidentally revealing secret values such as passwords.

SECRET-VALUES

  • Struct SECRET-VALUE
    NAME
    SYMBOL
  • Function SECRET-VALUE-P (object)
  • Function CONCEAL-VALUE (value &key (name ""))
    Conceals value into a SECRET-VALUE object. An optional name can be provided to aid debugging.
  • Function REVEAL-VALUE (secret-value)
    Returns the value in SECRET-VALUE. An error of type TYPE-ERROR is signalled if the argument is not of type SECRET-VALUES.
  • Function ENSURE-VALUE-CONCEALED (object &key (name ""))
    If object is already a of type SECRET-VALUE returns is unaltered, otherwise conceals it as if by calling CONCEAL-VALUE.
  • Function ENSURE-VALUE-REVEALED (object)
    If object is type SECRET-VALUE returns the concealed value, otherwise returns object.