rc4 man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

RC4(2)									RC4(2)

NAME
       setupRC4state, rc4, rc4skip, rc4back  - alleged rc4 encryption

SYNOPSIS
       #include <u.h>
       #include <libc.h>
       #include <mp.h>
       #include <libsec.h>

       void setupRC4state(RC4state *s, uchar *seed, int slen)

       void rc4(RC4state *s, uchar *data, int dlen)

       void rc4skip(RC4state *s, int nbytes)

       void rc4back(RC4state *s, int nbytes)

DESCRIPTION
       This  is	 an  algorithm alleged to be Rivest's RC4 encryption function.
       It is a pseudo-random number generator with a 256 byte state and a long
       cycle.  The input buffer is XOR'd with the output of the generator both
       to encrypt and to decrypt.  The seed, entered using setupRC4state,  can
       be  any	length.	 The generator can be run forward using rc4, skip over
       bytes using rc4skip to account lost  transmissions,  or	run  backwards
       using  rc4back  to  cover  retransmitted	 data.	The RC4state structure
       keeps track of the algorithm.

SOURCE
       /sys/src/libsec

SEE ALSO
       mp(2),  aes(2),	blowfish(2),  des(2),  dsa(2),	 elgamal(2),   rsa(2),
       sechash(2), prime(2), rand(2)

									RC4(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net