BSD Ports

textproc/p5-String-Compare-ConstantTime 0.321nb7 NetBSD

Perl5 module for timing side-channel protected string compare

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
textproc, perl5
Package size
10.3 KiB, 23.4 KiB installed

Description

This module provides one function, equals (not exported by default).

You should pass this function two strings of the same length. It will return true if they are string-wise identical and false otherwise, just like eq. However, comparing any two differing strings will take a fixed amount of time, unlike eq.

NOTE: If the lengths of the strings are different, equals will return false right away.

In the other systems

SystemPortVersion
NetBSDtextproc/p5-String-Compare-ConstantTime0.321nb7
FreeBSDtextproc/p5-String-Compare-ConstantTime0.321
DragonFlytextproc/p5-String-Compare-ConstantTime0.321

Install

Binary package:

pkgin install p5-String-Compare-ConstantTime

From pkgsrc:

cd /usr/pkgsrc/textproc/p5-String-Compare-ConstantTime && make install clean

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0