import bcrypt
# example password
password = 'password123'
# converting password to array of bytes
bytes = password.encode('utf-8')
# generating the salt
salt = bcrypt.gensalt()
# Hashing the password
hash = bcrypt.hashpw(bytes, salt)* 鍵と証明書のライフサイクル管理 * 認証機関(CA)機能 * 登録機関(RA:Registration Authority)機能 * 証明書の保管、運用管理用ディレクトリの維持 * 完全な証明書失効システム * 鍵のバックアップとリカバリの仕組み * タイムスタンプ機能