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)
s := '';
for b in a do s := s + IntToHex(b,2);
s = a.hex()
import std.digest;
s = a.toHexString;
use hex::ToHex;
let mut s = String::with_capactiy(2 * a.len());
a.write_hex(&mut s).expect("Failed to write");