Socket
Socket
Sign inDemoInstall

@oslojs/crypto

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.6.0

Diff

Changelog

Source

0.6.0

  • [Breaking] Update generateRandomInteger(), generateRandomIntegerNumber(), and generateRandomString() parameters.
  • [Breaking] Remove alphabet() and random() from random module.
pilcrowonpaper
published 0.5.3 •

Changelog

Source

0.5.3

  • Add SHA-3 hash and extended hash functions.
pilcrowonpaper
published 0.5.2 •

Changelog

Source

0.5.2

  • Fix ECDSASignature.encodeIEEEP1363()
pilcrowonpaper
published 0.5.1 •

Changelog

Source

0.5.1

  • Add SHA-512/224 and SHA-512/256
pilcrowonpaper
published 0.5.0 •

Changelog

Source

0.5.0

  • [Breaking] Rename decodeX509ECDSAPublicKey(), decodeX509ECDSASignature(), ECDSAPublicKey.encodeX509Compressed(), ECDSAPublicKey.encodeX509Uncompressed(), and ECDSASignature.encodeX509() to decodePKIXECDSAPublicKey(), decodePKIXECDSASignature(), ECDSAPublicKey.encodePKIXCompressed(), ECDSAPublicKey.encodePKIXUncompressed(), and ECDSASignature.encodePKIX()
  • Add @oslojs/crypto/rsa
pilcrowonpaper
published 0.4.1 •

Changelog

Source

0.4.1

  • Update dependencies.
pilcrowonpaper
published 0.4.0 •

Changelog

Source

0.4.0

  • [Breaking] Replace verifyECDSA() with verifyECDSASignature().
  • [Breaking] Replace ECDSACurve with ECDSANamedCurve.
  • Add all SEC 2 curves.
  • Add decodeX509ECDSASignature(), decodeX509PublicKey(), ECDSASignature.encodeX509(), ECDSAPublicKey.encodeX509Uncompressed(), and ECDSAPublicKey.encodeX509Compressed()
pilcrowonpaper
published 0.3.0 •

Changelog

Source

0.3.0

  • [Breaking] generateRandomInteger() takes and returns a bigint.
  • Add generateRandomIntegerNumber().
pilcrowonpaper
published 0.2.1 •

Changelog

Source

0.2.1

  • Add @oslojs/crypto/ecdsa.
  • Export sha224() and SHA224.
pilcrowonpaper
published 0.2.0 •

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc