 |
|
 |
Последние комментарии Каталог софта
Статьи
|
|
|
DES with Plan 9 Support
There are two parts to this: a Unix DES
implementation, and some Plan 9 support for Unix
that uses the DES implementation. The Plan 9
support gives you encrypt(2) and netkey(2). The
only significant difference between this DES and
the Plan 9 DES is that Plan 9 packs a DES key into
7 bytes, while this uses 8. In the Plan 9 support,
there's a function (des9key) that does the key
conversion (Plan 9 to 8 bytes). The versions of
encrypt and decrypt should call des9key() before
invoking deskey(), so it's transparent. The DES
implementation has a Makefile, manual entry, and
test program. The Plan 9 support comes with no
Makefile support; that's up to you.
Домашняя страница
|
|