kong.plugins.basic-auth.crypto

Salt the password Password is salted with the credential's consumer_id (long enough, unique)

Functions

encrypt (credential) Encrypt the password field credential table

Functions


encrypt

Encrypt the password field credential table
Parameters:
  • credential The basic auth credential table
Returns:
  • hash of the salted credential's password

Keep up with the latest features