Skip to content

Commit b6698d2

Browse files
feat(registry): add scrypt (RFC7914) to Cryptography Registry (CycloneDX#784)
Adds `scrypt` (RFC7914) to the Cryptography Registry (`schema/cryptography-defs.json`). Rationale: - RFC7914 specifies scrypt and it is commonly used for password hashing. - This classifies `scrypt` under `primitive: "hash"` to remain consistent with the existing registry taxonomy (e.g., `bcrypt`). Closes CycloneDX#783
2 parents 18e139b + 5fb8955 commit b6698d2

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

schema/cryptography-defs.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,21 @@
15261526
}
15271527
]
15281528
},
1529+
{
1530+
"family": "scrypt",
1531+
"standard": [
1532+
{
1533+
"name": "RFC7914",
1534+
"url": "https://doi.org/10.17487/RFC7914"
1535+
}
1536+
],
1537+
"variant": [
1538+
{
1539+
"pattern": "scrypt[-{N}][-{r}][-{p}][-{dkLen}]",
1540+
"primitive": "hash"
1541+
}
1542+
]
1543+
},
15291544
{
15301545
"family": "A5/1",
15311546
"variant": [

schema/cryptography-defs.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
"RSAES-PKCS1",
307307
"RSASSA-PKCS1",
308308
"RSASSA-PSS",
309+
"scrypt",
309310
"SEED",
310311
"SHA-1",
311312
"SHA-2",

0 commit comments

Comments
 (0)