projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-pyright
/
node_modules
/
pyright
/
dist
/
typeshed-fallback
/
stubs
/
cryptography
/
cryptography
/
hazmat
/
primitives
/
kdf
/
__init__.pyi
1
from abc import ABCMeta, abstractmethod
2
3
class KeyDerivationFunction(metaclass=ABCMeta):
4
@abstractmethod
5
def derive(self, key_material: bytes) -> bytes: ...
6
@abstractmethod
7
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...