BSD Ports

textproc/p5-String-Compare-ConstantTime 0.321 DragonFly

Perl extension for timing side-channel protected string compare

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
12.0 KiB, 23.6 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.

In the other systems

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

Install

Binary package:

pkg install p5-String-Compare-ConstantTime

From DPorts:

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

Dependencies

Run dependencies 1