未验证 提交 cfa2d603 编写于 作者: S Sangua633 提交者: GitHub

Support encrypt workbook with password #199 (#1324)

上级 76f33680
此差异已折叠。
......@@ -59,11 +59,6 @@ func TestEncryptionMechanism(t *testing.T) {
assert.EqualError(t, err, ErrUnknownEncryptMechanism.Error())
}
func TestEncryptionWriteDirectoryEntry(t *testing.T) {
cfb := cfb{}
assert.Equal(t, 1536, len(cfb.writeDirectoryEntry(0, 0, -1)))
}
func TestHashing(t *testing.T) {
assert.Equal(t, hashing("unsupportedHashAlgorithm", []byte{}), []byte(nil))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册