
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@kadena/cryptography-utils
Advanced tools
Collection of Kadena cryptography utility functions
Cryptography-Utils is a collection of cryptography utility functions. This library is used by kadena.js to hash your transactions. If you have private keys available, you can also sign them with this library.
API Reference can be found here cryptography-utils.api.md
import { hash, sign } from '@kadena/cryptography-utils';
import { IKeyPair } from '@kadena/types';
// Create a command
let commandPayload: string = 'Hello world!';
// Get the has of the command
let h: string = hash(commandPayload);
// Signing is normally handled by wallets, but if you have the private key
// available to you, you can also sign in this way:
let keyPair: IKeyPair = {
publicKey: 'ba54b224d1924dd98403f5c751abdd10de6cd81b0121800bf7bdbdcfaec7388d',
secretKey: '8693e641ae2bbe9ea802c736f42027b03f86afe63cae315e7169c9c496c17332',
};
let sig: string = sign(commandPayload, keyPair);
crypto:
binToHex
hexToBin
base64UrlEncode
base64UrlDecode
base64UrlEncodeArr
base64UrlDecodeArr
strToUint8Array
uint8ArrayToStr
hash
hashBin
genKeyPair
restoreKeyPairFromSecretKey
sign
signHash
verifySig
unique
toTweetNaclSecretKey
FAQs
Collection of Kadena cryptography utility functions
The npm package @kadena/cryptography-utils receives a total of 1,188 weekly downloads. As such, @kadena/cryptography-utils popularity was classified as popular.
We found that @kadena/cryptography-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.