Crypto key generating app
Moderator: Queue Moderator
Crypto key generating app
Basic app that generates truly random crypto keys, using Windows' Base Cryptographic Framework. It does a better job of generating random data than you ever can by hand, and it deals with correct DES key octet parity etc for you. If your machine has a hardware cryptographic accelerator for some reason, that happens to be supported by Windows, it'll use the hardware RNG on that to generate keys.
Only AES, ADP, DES(-XL) and DVP-XL are supported at the moment.
If you want a copy, click here (120kB.)
EDIT: You'll need .NET Framework 2.0 to run this app.
Last edited by mr.syntrx on Thu Mar 15, 2007 9:39 am, edited 2 times in total.
Cool stuff. I like it... although it's too bad you can't have an encryption key of all zero's with a 3 at the end.
Bonus points for anyone that gets the reference.
Bonus points for anyone that gets the reference.
JAYMZ
"Mom and dad say I should make my life an example of the principles I believe in. But every time I do, they tell me to stop it."
Calvin
"Mom and dad say I should make my life an example of the principles I believe in. But every time I do, they tell me to stop it."
Calvin
-
- Posts: 1477
- Joined: Sat Nov 29, 2003 10:10 pm
- What radios do you own?: AM/FM
-
- Posts: 1854
- Joined: Tue Jan 13, 2004 7:03 am
- radio-link
- Posts: 245
- Joined: Sun Mar 16, 2003 8:49 am
Re: Crypto key generating app
Fine, thank you! I had a DOS app for DES keys (a friend wrote it for me) that allows to create a list of random keys and export them to a .txt-file, to be able to hand out a key list for regular key change. Maybe this would be an addition you could consider for further releases :)mr.syntrx wrote: Basic app that generates truly random crypto keys, using Windows' Base Cryptographic Framework.
Ralph.
regards - Ralph, dk5ras
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223
Definitely not.motorola_otaku wrote:Mr. Burns' Social Security number?JAYMZ wrote:Cool stuff. I like it... although it's too bad you can't have an encryption key of all zero's with a 3 at the end.
Bonus points for anyone that gets the reference.
JAYMZ
"Mom and dad say I should make my life an example of the principles I believe in. But every time I do, they tell me to stop it."
Calvin
"Mom and dad say I should make my life an example of the principles I believe in. But every time I do, they tell me to stop it."
Calvin
Re: Crypto key generating app
Yep, I've certainly been considering that, but I hadn't decided on whether it would be useful enough to be included. Other features I've thought of as well have been:radio-link wrote:Fine, thank you! I had a DOS app for DES keys (a friend wrote it for me) that allows to create a list of random keys and export them to a .txt-file, to be able to hand out a key list for regular key change. Maybe this would be an addition you could consider for further releasesmr.syntrx wrote: Basic app that generates truly random crypto keys, using Windows' Base Cryptographic Framework.
Ralph.
* Deriving a key from a text password using PBKDF2 or a similar function (just like that used to derive WEP keys from passwords on wireless networks). Easy to implement.
* Turning the whole thing into a P25 complaint (CKR in Motorola speak) keyfill package, through a fairly cheap, easy to build, open custom hardware interface based around an Atmel AVR microcontroller. I've currently got an interface through which I can send and receive really basic commands to the radio from an AVR (not enough to actually load a key yet), but that's as far as I've gotten so far. This would negate the need to purchase a KVL 3000 for algorithms such as AES256 on modern ASTRO equipment, and for other manufacturer's equipment such as Tait, Kenwood etc.
This wouldn't load keys into legacy equipment using Motorola's ASN protocol such as Sabers, MTS 2000 etc though, because that protocol is Motorola proprietary, and I suspect the chances of them granting me a license to the protocol under conditions I'd be comfortable with (if at all) would be exactly 0.
- radio-link
- Posts: 245
- Joined: Sun Mar 16, 2003 8:49 am
Re: Crypto key generating app
Do you have further information about the ASN protocol? I am really thinking of putting something like that together for me, just for private use. My intention was to hook the digital scope into the connection from KVL to radio to have a look what there is happening between them...but maybe this is even not necessary, and the whole thing is already documented somewhere?mr.syntrx wrote:
This wouldn't load keys into legacy equipment using Motorola's ASN protocol such as Sabers, MTS 2000 etc though, because that protocol is Motorola proprietary, and I suspect the chances of them granting me a license to the protocol under conditions I'd be comfortable with (if at all) would be exactly 0.
Ralph.
regards - Ralph, dk5ras
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223
Re: Crypto key generating app
It's not documented publically. I've got the Project 25 Keyfill Device specifications, but I have no information on the Advanced SECURENET protocol.
- radio-link
- Posts: 245
- Joined: Sun Mar 16, 2003 8:49 am
Re: Crypto key generating app
What a pity; but I did not really expect to find it out in the public :) So the scope job must be done...mr.syntrx wrote:It's not documented publically. I've got the Project 25 Keyfill Device specifications, but I have no information on the Advanced SECURENET protocol.
Ralph.
regards - Ralph, dk5ras
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223
--
Ralph A. Schmid http://www.bclog.de ralph@schmid.xxx
Tel./SMS +49-171-3631223