projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
src
/
cmd
/
makekey.c
/*
* You send it 10 bytes.
* It sends you 13 bytes.
* The transformation is expensive to perform
* (a significant part of a second).
*/
char
*
crypt
();
main
()
{
char
key
[
8
];
char
salt
[
2
];
read
(
0
,
key
,
8
);
read
(
0
,
salt
,
2
);
write
(
1
,
crypt
(
key
,
salt
),
13
);
return
(
0
);
}