@repackd/crypto2
v3.0.0
Published
crypto utils
Downloads
3
Readme
@repackd/crypto2
crypto utils
usage
// ...
references
MDN SubtleCrypto
- https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign
- https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest
Web Cryptography API Examples
- https://diafygi.github.io/webcrypto-examples/
- https://gist.github.com/pedrouid/b4056fd1f754918ddae86b32cf7d803e#hmac
HOTP: An HMAC-Based One-Time Password Algorithm
- https://datatracker.ietf.org/doc/html/rfc4226
TOTP: Time-Based One-Time Password Algorithm
- https://datatracker.ietf.org/doc/html/rfc6238
Uncategorized
- https://uk.wikipedia.org/wiki/Google_Authenticator
- https://en.wikipedia.org/wiki/Google_Authenticator
- https://en.wikipedia.org/wiki/HMAC-based_one-time_password
- https://en.wikipedia.org/wiki/Time-based_One-Time_Password
- https://github.com/google/google-authenticator/wiki/Key-Uri-Format
- https://thecleancoder.dev/post/gooauth/
- https://gist.github.com/wingkeet/6bed16e5d3ab6975a3ab701d144aee0a
license
MIT License
Copyright (c) 2021 repackd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.