Source code for openpyxl.utils.tests.test_protection

from __future__ import absolute_import
# Copyright (c) 2010-2017 openpyxl

from .. protection import hash_password


[docs]def test_password(): enc = hash_password('secret') assert enc == 'DAA7'