Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB1E929DC for ; Wed, 27 Apr 2011 15:24:05 +0000 (UTC) Received: (qmail 32737 invoked by uid 500); 27 Apr 2011 15:24:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32713 invoked by uid 500); 27 Apr 2011 15:24:03 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 32705 invoked by uid 99); 27 Apr 2011 15:24:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:24:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:23:59 +0000 Received: by fxm6 with SMTP id 6so1993814fxm.11 for ; Wed, 27 Apr 2011 08:23:36 -0700 (PDT) Received: by 10.223.94.129 with SMTP id z1mr2565067fam.144.1303917748364; Wed, 27 Apr 2011 08:22:28 -0700 (PDT) Received: from [192.168.2.103] (dslb-088-075-132-198.pools.arcor-ip.net [88.75.132.198]) by mx.google.com with ESMTPS id l4sm278997fan.14.2011.04.27.08.22.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2011 08:22:27 -0700 (PDT) Subject: Re: convert key data to MD5 From: "Johannes J. Schmidt" To: user@couchdb.apache.org In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-1QkUi1U0DX9lCQtyPctG" Organization: Netzmerk Date: Wed, 27 Apr 2011 17:22:25 +0200 Message-ID: <1303917745.1944.60.camel@jolap> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 --=-1QkUi1U0DX9lCQtyPctG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can find a lib here: http://pajhome.org.uk/crypt/md5/index.html g jo Am Mittwoch, den 27.04.2011, 11:58 -0300 schrieb Fabio Batalha Cunha dos Santos: > Hello all, >=20 > I'm trying to generate a view where the key will be a MD5 representation = of > a specific field content. >=20 > Anybody have any idea about any java script library that generates a MD5 > from a given string? >=20 > I tried the http://plugins.jquery.com/project/md5 plugin. But it is not > working. >=20 > This is my view function where the key must be a MD5: >=20 > function(doc) { > if (doc.v706[0]["_"] =3D=3D 't'){ > for (i in doc.v441){ > emit(doc.v441[i]["_"],1); > } > } > } >=20 > Thanks in advance. >=20 > Regards, > *Fabio Batalha C. Santos* > Colegiado SciELO > www.scielo.org > FAPESP - CNPq - BIREME - FapUNIFESP --=20 Netzmerk GbR Johannes J. Schmidt http://netzmerk.com 01525 378 65 21 Am Vierst=C3=BCckenpfuhl 3a 14167 Berlin --=-1QkUi1U0DX9lCQtyPctG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk24NLEACgkQpEGMYf+sPIl3BgCfctx8jPwwnr7FUR9yXgpeWxSA yTYAn39V5aDYXks/pIjI+oqwJll2j6+u =u/tL -----END PGP SIGNATURE----- --=-1QkUi1U0DX9lCQtyPctG--