Add bcrypt definitions and tests.

@CodeAnimal already done. Thanks!