Apply patch sent 2013.059761732622974 by Nikolai Lavsky to add SHA3-256