Learn R Programming

ribiosUtils (version 1.5-6)

pwdecode: Decode password with function implemented with pwencode

Description

Decode password encypted with pwencode.

Usage

pwdecode(password)

Arguments

password

Character string to be decoded. If starting with a empty character, the string is sent for decoding; otherwise, it is deemed as clear text password and returned.

Value

Decoded character string, or empty string if decoding fails

Details

See pwdecode function documentation in BIOS for implemetnation details.

Note that since R does not support strings embedding null values (\000), the password to be decoded has to be given with two slashes, e.g. ‘ \001\000\129\235’.

Examples

Run this code
# NOT RUN {
mycode <- " \\001\\000\\141\\314\\033\\033\\033\\033\\033\\142\\303\\056\\166\\311\\037\\042"
pwdecode(mycode)

# }

Run the code above in your browser using DataLab