https://github.com/tomdalling/aes_key_wrap
A Ruby implementation of AES Key Wrap, a.k.a RFC 3394, a.k.a NIST Key Wrap.
https://github.com/tomdalling/aes_key_wrap
Last synced: about 22 hours ago
JSON representation
Repository metadata
A Ruby implementation of AES Key Wrap, a.k.a RFC 3394, a.k.a NIST Key Wrap.
- Host: GitHub
- URL: https://github.com/tomdalling/aes_key_wrap
- Owner: tomdalling
- License: mit
- Created: 2015-04-24T04:50:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T08:24:00.000Z (over 5 years ago)
- Last Synced: 2026-02-22T19:49:04.472Z (9 days ago)
- Language: Ruby
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
README.md
AESKeyWrap
A Ruby implementation of AES Key Wrap, a.k.a RFC 3394, a.k.a NIST Key Wrap.
Usage
To wrap a key, call AESKeyWrap.wrap with:
- The plain text key
- A key-encrypting key (KEK)
- An "initial value" (optional)
require 'aes_key_wrap'
plaintext_key = ['00112233445566778899AABBCCDDEEFF'].pack('H*') #binary string
kek = ['000102030405060708090A0B0C0D0E0F'].pack('H*') # binary string
iv = ['DEADBEEFC0FFEEEE'].pack("H*") # binary string (always 8 bytes)
wrapped_key = AESKeyWrap.wrap(plaintext_key, kek, iv) # iv is optional
To unwrap a key, call AESKeyWrap.unwrap:
unwrapped = AESKeyWrap.unwrap(wrapped_key, kek, iv) # iv is optional
There also unwrap!, which throws an exception if unwrapping fails, instead of
returning nil.
Contributing
Make sure it's got tests, then do the usual fork and pull request hooha.
Owner metadata
- Name: Tom Dalling
- Login: tomdalling
- Email:
- Kind: user
- Description:
- Website: http://www.tomdalling.com/
- Location: Melbourne, Australia
- Twitter: tom_dalling
- Company:
- Icon url: https://avatars.githubusercontent.com/u/219664?v=4
- Repositories: 70
- Last ynced at: 2023-04-10T11:40:48.454Z
- Profile URL: https://github.com/tomdalling
GitHub Events
Total
Last Year
Committers metadata
Last synced: 3 days ago
Total Commits: 26
Total Committers: 2
Avg Commits per committer: 13.0
Development Distribution Score (DDS): 0.038
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Tom Dalling | t****m@t****m | 25 |
| Igor Victor | g****a@y****u | 1 |
Committer domains:
- yandex.ru: 1
- tomdalling.com: 1
Issue and Pull Request metadata
Last synced: 6 months ago
Total issues: 0
Total pull requests: 1
Average time to close issues: N/A
Average time to close pull requests: 3 days
Total issue authors: 0
Total pull request authors: 1
Average comments per issue: 0
Average comments per pull request: 2.0
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
Top Pull Request Authors
- gogainda (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 12
-
Total downloads:
- rubygems: 187,705,825 total
- Total docker downloads: 1,027,752,786
- Total dependent packages: 3 (may contain duplicates)
- Total dependent repositories: 1,593 (may contain duplicates)
- Total versions: 16
- Total maintainers: 1
gem.coop: aes_key_wrap
A Ruby implementation of AES Key Wrap, a.k.a RFC 3394, a.k.a NIST Key Wrap.
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: http://www.rubydoc.info/gems/aes_key_wrap/
- Licenses: MIT
- Latest release: 1.1.0 (published over 5 years ago)
- Last Synced: 2026-03-01T03:03:56.363Z (3 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 93,903,635 Total
- Docker Downloads: 513,876,393
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.119%
- Downloads: 0.356%
- Maintainers (1)
debian-13: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: https://packages.debian.org/trixie/ruby-aes-key-wrap
- Licenses: mit
- Latest release: 1.1.0-1 (published 19 days ago)
- Last Synced: 2026-02-13T13:13:14.366Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 1.12%
- Forks count: 2.142%
- Stargazers count: 2.34%
rubygems.org: aes_key_wrap
A Ruby implementation of AES Key Wrap, a.k.a RFC 3394, a.k.a NIST Key Wrap.
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: http://www.rubydoc.info/gems/aes_key_wrap/
- Licenses: MIT
- Latest release: 1.1.0 (published over 5 years ago)
- Last Synced: 2026-02-26T19:01:12.002Z (5 days ago)
- Versions: 3
- Dependent Packages: 3
- Dependent Repositories: 1,593
- Downloads: 93,802,190 Total
- Docker Downloads: 513,876,393
-
Rankings:
- Docker downloads count: 0.235%
- Downloads: 0.365%
- Dependent repos count: 0.779%
- Dependent packages count: 4.021%
- Average: 7.686%
- Forks count: 17.673%
- Stargazers count: 23.04%
- Maintainers (1)
debian-10: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: https://packages.debian.org/buster/ruby-aes-key-wrap
- Licenses:
- Latest release: 1.0.1-1 (published 20 days ago)
- Last Synced: 2026-02-13T04:19:10.159Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Licenses:
- Latest release: 1.1.0-1 (published 21 days ago)
- Last Synced: 2026-02-11T06:35:08.662Z (21 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: https://packages.debian.org/bullseye/ruby-aes-key-wrap
- Licenses:
- Latest release: 1.0.1-1.1 (published 21 days ago)
- Last Synced: 2026-02-13T08:18:28.970Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Licenses:
- Latest release: 1.1.0-1 (published 18 days ago)
- Last Synced: 2026-02-13T18:14:35.169Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Licenses: mit
- Latest release: 1.0.1-1 (published 18 days ago)
- Last Synced: 2026-02-13T07:09:38.980Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Licenses:
- Latest release: 1.0.1-1.1 (published 18 days ago)
- Last Synced: 2026-02-13T13:12:13.298Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-aes-key-wrap
- Homepage: https://github.com/tomdalling/aes_key_wrap
- Documentation: https://packages.debian.org/bookworm/ruby-aes-key-wrap
- Licenses:
- Latest release: 1.1.0-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:24:43.279Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- gem-release >= 0 development
- simplecov < 0.18 development
- test_bench ~> 1.0 development
Score: 22.997830545694875