Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
String
/
//opt/alt/ruby21/share/ri/2.1.0/system/String/crypt-i.ri
U:RDoc::AnyMethod[iI" crypt:ETI"String#crypt;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HApplies a one-way cryptographic hash to <i>str</i> by invoking the ;TI"Dstandard library function <code>crypt(3)</code> with the given ;TI"Bsalt string. While the format and the result are system and ;TI"Aimplementation dependent, using a salt matching the regular ;TI"Dexpression <code>\A[a-zA-Z0-9./]{2}</code> should be valid and ;TI"Fsafe on any platform, in which only the first two characters are ;TI"significant.;To:RDoc::Markup::BlankLine o; ; [I"GThis method is for use in system specific scripts, so if you want ;TI"Ea cross-platform hash function consider using Digest or OpenSSL ;TI" instead.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"&str.crypt(salt_str) -> new_str ;T0[ I" (p1);T@FI"String;TcRDoc::NormalClassI" scanf;T0