NTRU: NTRU Cryptography

[ cryptography, library, math ] [ Propose Tags ]

A Haskell implementation of the NTRU cryptographic system, following the IEEE Standard Specification for Public Key Crpytographic Techniques Based on Hard Problems over Lattices (IEEE Std 1363.1-2008)

[Skip to Readme]
Versions [RSS] [faq],,, (info)
Dependencies arithmoi (==0.4.*), base (==4.6.*), bytestring (==0.10.*), containers (==0.5.*), crypto-api (==0.13.*), polynomial (==0.7.*), random (==1.1.*), SHA (==1.6.*), split (==0.2.*) [details]
License LicenseRef-GPL
Copyright 2014, CyberPoint International, LLC
Author Theo Levine, Tom Cornelius, Elizabeth Hughes, CyberPoint International LLC.
Maintainer opensource@cyberpointllc.com
Category Cryptography, Math
Uploaded by mikewest at 2016-01-21T19:39:54Z
Distributions NixOS:
Downloads 2472 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-10-25 [all 4 reports]


  • Math
    • Math.NTRU
      • Math.NTRU.EES1087EP1
      • Math.NTRU.EES1087EP2
      • Math.NTRU.EES1171EP1
      • Math.NTRU.EES1499EP1
      • Math.NTRU.EES401EP1
      • Math.NTRU.EES449EP1
      • Math.NTRU.EES541EP1
      • Math.NTRU.EES613EP1
      • Math.NTRU.EES659EP1
      • Math.NTRU.EES677EP1
      • Math.NTRU.EES761EP1
      • Math.NTRU.EES887EP1


Maintainer's Corner

For package maintainers and hackage trustees


Readme for NTRU-

[back to package description]


A Haskell Implementation of the NTRU Cryptographic library, following the IEEE Standard Specification (IEEE Std 1363.1-2008). Developed by Theo Levine, Elizabeth Hughes, and Tom Cornelius at Cyberpoint LLC (www.cyberpointllc.com). Special thanks as well to Paul Li and Ian Blumenfeld.

You can build it by running:

cabal install NTRU

or by downloading it and then running:

cabal configure
cabal build
cabal install 

You can ignore the warnings from the build.

A prebuilt hackage is available at http://hackage.haskell.org/package/NTRU. You may need to install some dependencies, such as llvm.

Please contact opensource@cyberpointllc.com with any questions.

Copyright 2013 CyberPoint International LLC.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.