python (3.12.0)
Αe d Z ddlZddlZddlZ G d dej Z G d dej Z G d dej Zed k( r ej yy)
zTest the secrets module.
As most of the functions in secrets are thin wrappers around functions
defined elsewhere, we don't need to test them exhaustively.
Nc ( e Zd ZdZd Zd Zd Zd Zy)Compare_Digest_Testsz%Test secrets.compare_digest function.c dD ]t }|dz }|dz }| j t j || | j t j |j d |j d v y )N)abcdxyz123d utf-8)
assertTruesecretscompare_digestencodeselfsr bs E/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_secrets.py
test_equalzCompare_Digest_Tests.test_equal si '