
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@smt-lib/md5
Advanced tools
解释: 在小程序开发中,没有window的概念,导致市面上很多绑定DOM或者BOM的三方库无法使用,@smt-lib/md5是官方提供的md5和base64算法库。
小程序种使用三方npm包方法,见npm使用说明
npm install @smt-lib/md5
方法 encodeHex
|类型 |必填 | 默认值 |说明| |---- | ---- | ---- | ----|----| |String | 是 | | 要转换的字符串 |
import {encodeHex} from '@smt-lib/md5';
const string = 'abcdefghigklmn';
const md5edString = encodeHex(string);
方法 encodeBase64
|类型 |必填 | 默认值 |说明| |---- | ---- | ---- | ----|----| |String | 是 | | 要转换的字符串 |
import {encodeBase64} from '@smt-lib/md5';
const string = 'abcdefghigklmn';
const base64edString = encodeBase64(string);
FAQs
@smt-lib/md5提供了计算md5和base64功能
The npm package @smt-lib/md5 receives a total of 2 weekly downloads. As such, @smt-lib/md5 popularity was classified as not popular.
We found that @smt-lib/md5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.