In some research work in 2001, it is stated that test vectors were not publicly available at the time. Then in this ESSS1v2 standard under IEEE1363 here , the appendix B mentions that the test vectors will be added in future versions. I haven't found any. Where could I get the test vectors for NTRU?

  • $\begingroup$ github.com/NTRUOpenSourceProject/ntru-crypto/blob/master/… $\endgroup$
    – cygnusv
    Commented Aug 12, 2015 at 12:30
  • $\begingroup$ I've been looking for the test vectors also. github.com/NTRUOpenSourceProject/ntru-crypto/blob/master/… refers to ""com.securityinnovation.testvectors.NtruEncryptTestVectorGenerator" " I haven't looked any deeper than this, but it looks like they don't publish test vectors, but give you a means of generating them yourself $\endgroup$
    – user26433
    Commented Aug 30, 2015 at 9:18
  • $\begingroup$ I click all links, but they are invalid. Who can give me a new? I want test vectors of NTRU. $\endgroup$
    – Land
    Commented Jul 22, 2020 at 13:47

1 Answer 1


The most recent version of the paper indeed seems to be:

Efficient Embedded Security Standards (EESS)
EESS #1: Implementation Aspects of NTRUEncrypt and NTRUSign
Consortium for Efficient Embedded Security
June 20 th , 2003
Version 2.0

(PDF download)

Yet, as you stated, that doesn’t contain any test vectors; just like the previous (v1) paper:

Appendix B - Test Vectors

[To be added in future versions]

But you can find test vectors when checking implementations. For example, by looking at the files contained in the directory https://github.com/Yawning/ntru/blob/master/testvectors/

Alternatively, you could take a look at the files contained in the NTRUOpenSourceProject directory https://github.com/NTRUOpenSourceProject/ntru-crypto/tree/master/reference-code/Java/Encrypt/com/securityinnovation/testvectors/ (see NtruEncryptTestVector.java file)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.