2.0.0: refactors for php 8.0
BREAKING CHANGES:
- renamed
new Key($key)
toKey::load($key)
- renamed
(new Key)->keygen()
toKey::generate()
- renamed
(new Key)->keygen($password, $salt)
toKey::generateFrom($password, $salt)
- renamed
new KeyPair($keys)
toKeyPair::load($keys)
- renamed
(new KeyPair)->keygen()
toKeyPair::generate()
- renamed
(new KeyPair)->keygen($password, $salt)
toKeyPair::generateFrom($password, $salt)
- now requires php 8.0