Skip to content

Instantly share code, notes, and snippets.

@rehmoe
rehmoe / code.snippet3.pas
Created June 16, 2011 04:17
Kode untuk generate random string
function GeneratePWDSecutityString: string;
const
Codes64 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/';
var
i, x: integer;
s1, s2: string;
begin
s1 := Codes64;
s2 := '';
for i := 0 to 15 do