You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: REFERENCE.md
+69-4
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,7 @@ the provided regular expression.
173
173
*[`sort`](#sort): Sorts strings and arrays lexically.
174
174
*[`sprintf_hash`](#sprintf_hash): Uses sprintf with named references.
175
175
*[`squeeze`](#squeeze): Returns a new string where runs of the same character that occur in this set are replaced by a single character.
176
+
*[`stdlib::crc32`](#stdlibcrc32): Run a CRC32 calculation against a given value.
176
177
*[`stdlib::deferrable_epp`](#stdlibdeferrable_epp): This function returns either a rendered template or a deferred function to render at runtime. If any of the values in the variables hash are
177
178
*[`stdlib::end_with`](#stdlibend_with): Returns true if str ends with one of the prefixes given. Each of the prefixes should be a String.
178
179
*[`stdlib::ensure`](#stdlibensure): function to cast ensure parameter to resource specific value
@@ -4190,7 +4191,9 @@ hash types are:
4190
4191
|bcrypt-x |2x |bug compatible |
4191
4192
|bcrypt-y |2y |historic alias for 2b|
4192
4193
4193
-
The third argument to this function is the salt to use.
4194
+
The third argument to this function is the salt to use. For bcrypt-type hashes,
4195
+
the first two characters of the salt represent a strength parameter, with a value
4196
+
between 4 and 31 inclusive.
4194
4197
4195
4198
> *Note:*: this uses the Puppet Server's implementation of crypt(3). If your
4196
4199
environment contains several different operating systems, ensure that they
@@ -4215,7 +4218,9 @@ hash types are:
4215
4218
|bcrypt-x |2x |bug compatible |
4216
4219
|bcrypt-y |2y |historic alias for 2b|
4217
4220
4218
-
The third argument to this function is the salt to use.
4221
+
The third argument to this function is the salt to use. For bcrypt-type hashes,
4222
+
the first two characters of the salt represent a strength parameter, with a value
4223
+
between 4 and 31 inclusive.
4219
4224
4220
4225
> *Note:*: this uses the Puppet Server's implementation of crypt(3). If your
4221
4226
environment contains several different operating systems, ensure that they
@@ -4662,6 +4667,66 @@ The squeeze function.
4662
4667
4663
4668
Returns: `Any` a new string where runs of the same character that occur in this set are replaced by a single character.
0 commit comments