Add bcrypt definitions and tests.