[Cryptography-dev] nacl.hashlib.scrypt not working with Nscrypt(n)=32768

JHENUKUMAR SUBRAMANIAM jhenukumar at geely.com
Thu May 21 21:59:55 EDT 2020


Dear  Pynacl Developers,

Set-up details
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)]
Library ::: pynacl (1.14.0)
Operating System ::: Windows 10 Enterprise Build 16.299
Processor ::: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712 Mhz, 2 Core(s), 4 Logical Processor(s)
Installed Physical Memory (RAM)::: 16.0 GB
Graphics :::: NVIDIA Geforce 930MX

Running this command
import nacl.hashlib
z = nacl.hashlib.scrypt(b'passphrase',salt=b'mysalt',n=32768,r =8,p=16,maxmem=2**25,dklen=64)
#If I chose n = 2**14 it works, but n= 32768 doesn’t work. How to fix it ?

Error Window:::
[cid:image004.jpg at 01D6301F.BDDC0200]

[cid:image001.jpg at 01D573A6.35DA4500]

苏杰JHENU KUMAR SUBRAMANIAM

主任工程师Senior Engineer

路特斯工程(中国) Lotus Engineering China

M: +86 130 6585 7869 | E: jhenukumar at geely.com

No.918, Binhai 4th Rd, Hangzhou Bay New District, Ningbo, Zhejiang, P. R. China, 315336
浙江省宁波市杭州湾新区滨海四路918号   邮编:315336




免责声明:本邮件所包含信息发给指定个人或机构,邮件可能包含保密或专属信息。未经接收者许可,不得阅读、转发或传播邮件内容,或根据邮件内容采取任何相关行动。如果错误地收到了此邮件,请与收件人联系并自行删除邮件内容。

Disclaimer:The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error , please contact the sender and delete the material from any computer .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20200522/a3f2025c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 83952 bytes
Desc: image004.jpg
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20200522/a3f2025c/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 4471 bytes
Desc: image005.jpg
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20200522/a3f2025c/attachment-0003.jpg>


More information about the Cryptography-dev mailing list