demo/lib/util/md5.js
function chars_to_bytes(ac) {
        var retval = []
        for (var i = 0; i < ac.length; i++) {
            retval = retval.concat(str_to_bytes(ac[i]))
        }
        return retval
    }
function chars_to_bytes(ac) {
        var retval = []
        for (var i = 0; i < ac.length; i++) {
            retval = retval.concat(str_to_bytes(ac[i]))
        }
        return retval
    }
function chars_to_bytes ( ac ) { var retval = [ ] for ( var i = 0 ; i < ac . length ; i ++ ) { retval = retval . concat ( str_to_bytes ( ac [ i ] ) ) } return retval }
convert array of chars to array of bytes
convert array of chars to array of bytes