Remove attribute
Add license to dub.json
Remove unnecessary codes

Also changes hexDigest => digest in unittest