paragonie/constant_time_encoding breaking changes
paragonie/constant_time_encoding v3.0.0 (May 8, 2024) is its newest release with breaking changes, 37 of them. The first: paragonie/constant_time_encoding v3.0.0 drops support for PHP 7 and requires PHP 8 or later. Every breaking API change we have recorded in paragonie/constant_time_encoding on Packagist: 37 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v3.1.5, released November 18, 2026. MIT license. Source repository
Its v3.0.0 release requires PHP 8 or later. PHP end of life dates.
paragonie/constant_time_encoding v3.0.0 breaking changes
- Configuration changed
The package now requires PHP 8 or later; code running on PHP 7 must upgrade PHP before updating to this major version. github.com - Signature changed
ParagonIE\ConstantTime\Base32::decode
Was public static function decode(#[SensitiveParameter] string $encodedString, bool $strictPadding = false): string; now public static function decode(#[\SensitiveParameter] string $encodedString, bool $strictPadding = false): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::decodeNoPadding
Was public static function decodeNoPadding(#[SensitiveParameter] string $encodedString, bool $upper = false): string; now public static function decodeNoPadding(#[\SensitiveParameter] string $encodedString, bool $upper = false): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::decodeUpper
Was public static function decodeUpper(#[SensitiveParameter] string $src, bool $strictPadding = false): string; now public static function decodeUpper(#[\SensitiveParameter] string $src, bool $strictPadding = false): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::doDecode
Was protected static function doDecode(#[SensitiveParameter] string $src, bool $upper = false, bool $strictPadding = false): string; now protected static function doDecode(#[\SensitiveParameter] string $src, bool $upper = false, bool... packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::doEncode
Was protected static function doEncode(#[SensitiveParameter] string $src, bool $upper = false, $pad = true): string; now protected static function doEncode(#[\SensitiveParameter] string $src, bool $upper = false, $pad = true): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::encode
Was public static function encode(#[SensitiveParameter] string $binString): string; now public static function encode(#[\SensitiveParameter] string $binString): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::encodeUnpadded
Was public static function encodeUnpadded(#[SensitiveParameter] string $src): string; now public static function encodeUnpadded(#[\SensitiveParameter] string $src): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::encodeUpper
Was public static function encodeUpper(#[SensitiveParameter] string $src): string; now public static function encodeUpper(#[\SensitiveParameter] string $src): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base32::encodeUpperUnpadded
Was public static function encodeUpperUnpadded(#[SensitiveParameter] string $src): string; now public static function encodeUpperUnpadded(#[\SensitiveParameter] string $src): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base64::decode
Was public static function decode(#[SensitiveParameter] string $encodedString, bool $strictPadding = false): string; now public static function decode(#[\SensitiveParameter] string $encodedString, bool $strictPadding = false): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base64::decodeNoPadding
Was public static function decodeNoPadding(#[SensitiveParameter] string $encodedString): string; now public static function decodeNoPadding(#[\SensitiveParameter] string $encodedString): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base64::doEncode
Was protected static function doEncode(#[SensitiveParameter] string $src, bool $pad = true): string; now protected static function doEncode(#[\SensitiveParameter] string $src, bool $pad = true): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base64::encode
Was public static function encode(#[SensitiveParameter] string $binString): string; now public static function encode(#[\SensitiveParameter] string $binString): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Base64::encodeUnpadded
Was public static function encodeUnpadded(#[SensitiveParameter] string $src): string; now public static function encodeUnpadded(#[\SensitiveParameter] string $src): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Binary::safeSubstr
Was public static function safeSubstr(#[\SensitiveParameter] string $str, int $start = 0, $length = null): string; now public static function safeSubstr(#[\SensitiveParameter] string $str, int $start = 0, ?int $length = null): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32Decode
Was public static function base32Decode(#[SensitiveParameter] string $str): string; now public static function base32Decode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32DecodeUpper
Was public static function base32DecodeUpper(#[SensitiveParameter] string $str): string; now public static function base32DecodeUpper(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32Encode
Was public static function base32Encode(#[SensitiveParameter] string $str): string; now public static function base32Encode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32EncodeUpper
Was public static function base32EncodeUpper(#[SensitiveParameter] string $str): string; now public static function base32EncodeUpper(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32HexDecode
Was public static function base32HexDecode(#[SensitiveParameter] string $str): string; now public static function base32HexDecode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32HexDecodeUpper
Was public static function base32HexDecodeUpper(#[SensitiveParameter] string $str): string; now public static function base32HexDecodeUpper(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32HexEncode
Was public static function base32HexEncode(#[SensitiveParameter] string $str): string; now public static function base32HexEncode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base32HexEncodeUpper
Was public static function base32HexEncodeUpper(#[SensitiveParameter] string $str): string; now public static function base32HexEncodeUpper(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64Decode
Was public static function base64Decode(#[SensitiveParameter] string $str): string; now public static function base64Decode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64DecodeDotSlash
Was public static function base64DecodeDotSlash(#[SensitiveParameter] string $str): string; now public static function base64DecodeDotSlash(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64DecodeDotSlashOrdered
Was public static function base64DecodeDotSlashOrdered(#[SensitiveParameter] string $str): string; now public static function base64DecodeDotSlashOrdered(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64Encode
Was public static function base64Encode(#[SensitiveParameter] string $str): string; now public static function base64Encode(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64EncodeDotSlash
Was public static function base64EncodeDotSlash(#[SensitiveParameter] string $str): string; now public static function base64EncodeDotSlash(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::base64EncodeDotSlashOrdered
Was public static function base64EncodeDotSlashOrdered(#[SensitiveParameter] string $str): string; now public static function base64EncodeDotSlashOrdered(#[\SensitiveParameter] string $str): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::hexDecode
Was public static function hexDecode(#[SensitiveParameter] string $hex_string): string; now public static function hexDecode(#[\SensitiveParameter] string $hex_string): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::hexDecodeUpper
Was public static function hexDecodeUpper(#[SensitiveParameter] string $bin_string): string; now public static function hexDecodeUpper(#[\SensitiveParameter] string $bin_string): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::hexEncode
Was public static function hexEncode(#[SensitiveParameter] string $bin_string): string; now public static function hexEncode(#[\SensitiveParameter] string $bin_string): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Encoding::hexEncodeUpper
Was public static function hexEncodeUpper(#[SensitiveParameter] string $bin_string): string; now public static function hexEncodeUpper(#[\SensitiveParameter] string $bin_string): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Hex::decode
Was public static function decode(#[SensitiveParameter] string $encodedString, bool $strictPadding = false): string; now public static function decode(#[\SensitiveParameter] string $encodedString, bool $strictPadding = false): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Hex::encode
Was public static function encode(#[SensitiveParameter] string $binString): string; now public static function encode(#[\SensitiveParameter] string $binString): string. packagist.org - Signature changed
ParagonIE\ConstantTime\Hex::encodeUpper
Was public static function encodeUpper(#[SensitiveParameter] string $binString): string; now public static function encodeUpper(#[\SensitiveParameter] string $binString): string. packagist.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.