On Di, 2013-12-17 at 16:02 +0100, Stéphanie Ouillon wrote: > I'm in the Firefox OS Security team and I'm starting working on adding > support for stronger passwords in the Firefox OS lockscreen (bug 877541) > [1]. > At the moment, only a 4-digit password can be configured and we want to > improve that for FxOS 1.4 (March 2014). > > Some time ago, David Dahl provided on a patch for having hashing > functions in Gecko: it's a JSM living next to the SettingsManager for > FxOS [2]. Supported algorithms are sha256, sha384 and sha512.
It's not clear why you need something new. I'd assume your device locking code is privileged code. Can't you use nsICryptoHash? Kai -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto