Implementation
D

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import "encoding/hex"
s := hex.EncodeToString(a)
sysutils
s := '';
for b in a do s := s + IntToHex(b,2);
s = a.unpack("H*")
s = a.hex()
use hex::ToHex;
let mut s = String::with_capactiy(2 * a.len());
a.write_hex(&mut s).expect("Failed to write");