Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript,alt.comp.lang.javascript Subject: Re: String to Base76 Followup-To: comp.lang.javascript Date: Tue, 07 Jul 2015 08:15:29 +0200 Organization: PointedEars Software (PES) Lines: 24 Message-ID: <3559187.vyKhTziBgs@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1436249915 25927 eJwFwQcBwEAIBDBLQJlynnH+JTSxz9kn1M3VYOAja9fmbSGq0py5fByr568gAFJSaoehGz8dzxFs (7 Jul 2015 06:18:35 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 7 Jul 2015 06:18:35 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNwokRACEIBLCW5FuwHBG3/xLuJgmD4KYj4MGg+NbKsXQjzO5T+tgSjW7ieP8IeRAWsIOHyoQUavY6+QE3rRTo Cancel-Lock: sha1:GiIRdNzESBQG6TFtYCMKxZvJROo= X-NNTP-Posting-Host: eJwNyMEBwCAIA8CVUALIOIWU/UfQe56pL++Am8PGRvTnpiQzwfi0ytbrw30C0y/AqogWaED2BSWjES8= Xref: csiph.com comp.lang.javascript:28312 dddudeman wrote: > […] The basic idea that I have is to get the string and convert it to the > ascii character codes, then that string of numbers to base76 using a > character set that I made up. I think I'm going to use > "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+=/\><^- > _%$[]*" but I have no idea if that's actually what's used in that base. It is *your* idea. > Would I be best off using the base64 module and modifying that or making > mine implementation in js? Yes. BTW, alt.comp.lang.javascript does not exist. BTW2, get a *real* name. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.