Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 342 Bytes

File metadata and controls

10 lines (7 loc) · 342 Bytes

exist-bcrypt

bcrypt module for eXist-db

module namespace: "http://max.terpstra.ca/ns/exist-bcrypt"

Provides three functions:

  • bcrypt:hash($password as xs:string) as xs:string
  • bcrypt:hash($password as xs:string, $work as xs:positiveInteger) as xs:string
  • bcrypt:matches($hash as xs:string, $plain as xs:string) as xs:boolean