From e2d5d92b770af55d55722dff862f081c1d828149 Mon Sep 17 00:00:00 2001 From: Scott Miller Date: Fri, 5 Jun 2020 16:55:33 -0500 Subject: [PATCH] Github markdown doesn't use "^" for superscript, have to be explicit (#9156) --- website/pages/docs/secrets/transform/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/pages/docs/secrets/transform/index.mdx b/website/pages/docs/secrets/transform/index.mdx index c130ef921..b4c9d4452 100644 --- a/website/pages/docs/secrets/transform/index.mdx +++ b/website/pages/docs/secrets/transform/index.mdx @@ -179,12 +179,12 @@ alphabet the input size does not leave the input guessable by brute force. Given an alphabet of length A, an input length L is valid if: * L >= 2, -* A^L >= 1,000,000 -* and L <= 2 * floor(logA(2^96)). +* AL >= 1,000,000 +* and L <= 2 * floor(logA(296)). As a concrete example, for handling credit card numbers, A is 10, L is 16, so valid input lengths would be between 6 and 56 characters. This is because -10^6=1,000,000 (already greater than 2), and 2 * floor(log10(2^96)) = 56. +106=1,000,000 (already greater than 2), and 2 * floor(log10(296)) = 56. Of course, in the case of credit card numbers valid input would always be 16 decimal digits.