Abstract A new package called boolfun is avail-able for R users. The package provides tools tohandle Boolean functions, in particular for cryp-tographic purposes. This document guides theuser through some (code) examples and gives afeel of what can be done with the package.A Boolean function is a mapping f0,1g n !f0,1g.Those mappings are of much interest in the design ofcryptographic algorithms such as secure pseudoran-dom number generators (for the design of stream ci-phers among other applications), hash functions andblock ciphers. The lack of open source software toassess cryptographic properties of Boolean functionsand the increasing interest for statistical testing ofproperties related to random Boolean functions (Fil-iol,2002;Saarinen,2006;Englund et al.,2007;Au-masson et al.,2009) are the main motivations for thedevelopment of this package.The number of Boolean functions with n vari-ables is 2 2 n , i.e. 2 possible output values for each ofthe 2 n input assignments. In this search space ofsize 2
[1]
Thomas Johansson,et al.
A Framework for Chosen IV Statistical Analysis of Stream Ciphers
,
2007,
INDOCRYPT.
[2]
Claude Carlet,et al.
Algebraic Attacks and Decomposition of Boolean Functions
,
2004,
EUROCRYPT.
[3]
Eric Filiol,et al.
A New Statistical Testing for Symmetric Ciphers and Hash Functions
,
2002,
ICICS.
[4]
M. F.,et al.
Bibliography
,
1985,
Experimental Gerontology.
[5]
Martyn Plummer,et al.
The R Journal
,
2012
.
[6]
Willi Meier,et al.
Fast correlation attacks on certain stream ciphers
,
1989,
Journal of Cryptology.
[7]
Henrik Bengtsson,et al.
The R.oo package - Object-oriented programming with references using standard R code
,
2003
.
[8]
Markku-Juhani O. Saarinen.
Chosen-IV Statistical Attacks on eStream Ciphers
,
2006,
SECRYPT.
[9]
Willi Meier,et al.
Cube Testers and Key Recovery Attacks on Reduced-Round MD6 and Trivium
,
2009,
FSE.