Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Read (Decrypt) REG_BINARY (from registry) (unpack)

by tye (Sage)
on Nov 14, 2016 at 19:46 UTC ( [id://1175905] : note . print w/replies, xml ) Need Help??

in reply to Read (Decrypt) REG_BINARY (from registry)

REG_BINARY values are usually not encrypted. The easiest way I can think to get a text string that describes a REG_BINARY value would be unpack, which could give you, for example, a hexadecimal dump via: $hex = unpack "H*", $binary;

Of course, I am assuming that you already have code that gets the REG_BINARY value into $binary. If not, I'd use Win32::TieRegistry (but maybe I'm biased).

- tye