
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@muisit/cryptokey
Advanced tools
Cryptography implementation for assymetric keys in Node
This library implements some methods for the following key types:
createPrivateKey: initialises the private key to a random valueinitialisePrivateKey(Uint8Array): initialise the private key to a set byte arraybytesToHex(Uint8Array): returns a base16/hex encoded string of the byte arrayhexToBytes(string): returns a byte array based on the passed hexadecimal stringhasPublicKey(): returns a boolean depending on the value of the public key byte arraypublicKey(): returns a byte array, empty if no public key is setexportPublicKey(): exports the public key in hex formatsetPublicKey(string): sets the public key based on the hexadecimal string valuehasPrivateKey(): returns a boolean depending on the value of the private key byte arrayprivateKey(): returns a byte array, empty if no private key is setexportPrivateKey(): exports the private key in hex formatsetPrivateKey(string): sets the private key based on the hexadecimal string valuetoDIDKey(): exports the key as a did:key:.. identifierimportFromDID(string): imports a did identifier. Currently on did:key: is supportedtoJWK(): exports a JWK object for the public keyalgorithms(): provides a list of signature algorithms implementeddidDocument(): returns the DID document valueimportFromManagedKey(IKey): imports the key from a @veramo/core IKey structuresign(string, Uint8Array, string): signs the byte array according to the algorithm (first parameter) and encodes the result according to the last parameter. Uses raw encoding by default, but base64url is an often used encodingverify(string, string, Uint8Array): verifies the byte array agains the signature (second parameter) using the algorithm (first parameter)FAQs
Cryptography for assymmetric keys in Node
The npm package @muisit/cryptokey receives a total of 207 weekly downloads. As such, @muisit/cryptokey popularity was classified as not popular.
We found that @muisit/cryptokey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.