Installations
npm install aes-cmac-dibeling
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
16.4.2
NPM Version
8.1.3
Score
71
Supply Chain
81.6
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (95.91%)
JavaScript (4.09%)
Developer
rosek86
Download Statistics
Total Downloads
290
Last Day
1
Last Week
1
Last Month
4
Last Year
105
GitHub Statistics
5 Stars
31 Commits
4 Forks
3 Watching
1 Branches
4 Contributors
Package Meta Information
Latest Version
2.0.0
Package Id
aes-cmac-dibeling@2.0.0
Unpacked Size
33.06 kB
Size
5.08 kB
File Count
8
NPM Version
8.1.3
Node Version
16.4.2
Total Downloads
Cumulative downloads
Total Downloads
290
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
100%
4
Compared to previous month
Last year
52.2%
105
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
AES-CMAC
AES CMAC implementation in typescript.
Install
npm i aes-cmac
Examples
NodeJS (CommonJS)
1(async () => { 2 const AesCmac = require('aes-cmac').AesCmac; 3 4 const key = Buffer.from('2b7e151628aed2a6abf7158809cf4f3c', 'hex'); 5 const msg = Buffer.from('6bc1bee22e409f96e93d7e117393172a', 'hex'); 6 7 const aesCmac = new AesCmac(key); 8 const result = Buffer.from(await aesCmac.calculate(msg)); 9 10 console.log(result.toString('hex')); 11})();
NodeJS (ECMAScript modules)
1import { AesCmac } from 'aes-cmac'; 2 3(async () => { 4 const key = Buffer.from('2b7e151628aed2a6abf7158809cf4f3c', 'hex'); 5 const msg = Buffer.from('6bc1bee22e409f96e93d7e117393172a', 'hex'); 6 7 const aesCmac = new AesCmac(key); 8 const result = Buffer.from(await aesCmac.calculate(msg)); 9 10 console.log(result.toString('hex')); 11})();
References
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rosek86/aes-cmac/ci.yaml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rosek86/aes-cmac/ci.yaml/main?enable=pin
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 1 out of 1 npmCommand dependencies pinned
Reason
Found 3/26 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yaml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 9 are checked with a SAST tool
Score
4.1
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More