3 var crypto
= require('crypto');
5 function hashEmail(email
) {
12 function forEmail(email
, size
) {
17 return forChecksum(checksum
, size
);
20 function forChecksum(checksum
, size
) {
23 'https://secure.gravatar.com/avatar/' +
25 '?d=https%3A%2F%2Favatars.gitter.im%2Fdefault.png&s=' +
30 'https://secure.gravatar.com/avatar/' +
32 '?d=https%3A%2F%2Favatars.gitter.im%2Fdefault.png'
40 forChecksum
: forChecksum