js: Add showtime.md5digest() and showtime.sha1digest()