string - Base64 in C# and PL/SQL? -
in pl/sql how can convert string (long html string new line , tags, etc) base64 easy decrypt in c#?
in c# there are:
convert.tobase64string() convert.tobase64chararray() bitconverter.tostring()
which 1 compatible pl/sql
utl_encode.base64_encode();
?
i welcome other suggestions :-)
you'll want use method:
convert.tobase64string()
it returns base64 encoded string based off array of unsigned 8-bit integers (bytes).
as alternate, can use convert.tobase64chararray()
, output character array, bit odd may useful in circumstances.
the method bitconverter.tostring()
returns string, bytes represented in hexadecimal, not base64 encoded.
Comments
Post a Comment