Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28322

Re: String to Base76

From dddudeman <dddudeman9@gmail.com>
Newsgroups comp.lang.javascript, alt.comp.lang.javascript
Subject Re: String to Base76
Date 2015-07-07 13:16 -0400
Organization A noiseless patient Spider
Message-ID <mnh1dr$poi$1@dont-email.me> (permalink)
References <mnfd6b$b7u$4@dont-email.me> <XnsA4D07F476B022eejj99@194.109.6.166>

Cross-posted to 2 groups.

Show all headers | View raw


On 7/7/2015 06:30, Evertjan. wrote:
> dddudeman <dddudeman9@gmail.com> wrote on 07 Jul 2015 in
> comp.lang.javascript:
>
> [..]
>> 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.
>
> Methinks you can use whatever you like.
>
> You can also use accented letters
> or Greek, Hebrew or Cyrillic letters,
> using a 16bit characterset.
>
> Why should "A" stand for zero and "0" for something else?
>
> Customary is to start the conversion-string with the ordinary numbers,
> and then the capitals.
That string is just the string used for typical base64 conversions with 
\><^-_%$[]* added. Maybe I should use other letters to avoid having to 
escape characters and things like that.
>> Would I be best off using the base64 module
>
> What is "the" base64 module?
https://www.npmjs.com/package/base64
>> and modifying that or making
>> mine implementation in js?
>
> Building your own gives far more satisfaction,
> increases yous skill for other programming,
> and makes the discussion here more fun.
>
I'll try to implement it myself, thanks.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

String to Base76 dddudeman <dddudeman9@gmail.com> - 2015-07-06 22:24 -0400
  Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-07 08:15 +0200
    Re: String to Base76 dddudeman <dddudeman9@gmail.com> - 2015-07-07 13:12 -0400
      Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 19:20 +0200
        Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 13:23 -0400
          Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 00:17 +0200
            Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 09:02 +0200
              Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 11:53 +0200
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 12:14 +0200
                Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 12:28 +0200
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 17:27 +0200
                Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 18:19 +0200
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 19:08 +0200
                Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-09 10:48 -0700
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-09 22:06 +0200
                Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-09 14:18 -0700
            Re: String to Base76 John Harris <niam@jghnorth.org.uk.invalid> - 2015-07-08 16:03 +0100
        Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-07 10:48 -0700
          Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 13:58 -0400
          Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 21:04 +0200
            Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-07 13:11 -0700
              Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 23:38 +0200
                Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-09 10:50 -0700
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-09 22:22 +0200
                Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-09 14:24 -0700
                Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-10 09:16 +0200
      Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 00:14 +0200
        Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 20:38 -0400
          Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 03:27 +0200
  Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 12:30 +0200
    Re: String to Base76 dddudeman <dddudeman9@gmail.com> - 2015-07-07 13:16 -0400
      Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 19:26 +0200
        Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 13:54 -0400
          Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 21:17 +0200
            Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 16:57 -0400
              Re: String to Base76 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 00:17 +0200
              Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 00:30 +0200
                Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 20:43 -0400
                Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 03:17 +0200
                Re: String to Base76 Wesley Navaille <dddudeman9@gmail.com> - 2015-07-07 22:01 -0400
                Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 12:05 +0200
                Re: String to Base76 Wesley Navaille <dddudeman9@gmail.com> - 2015-07-08 13:50 -0400
                Re: String to Base76 Scott Sauyet <scott.sauyet@gmail.com> - 2015-07-08 19:05 -0700
                Re: String to Base76 Wesley Navaille <dddudeman9@gmail.com> - 2015-07-08 22:17 -0400
          Re: String to Base76 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 00:22 +0200
  Re: String to Base76 wolfgang zeidler <invalid@invalid.invalid> - 2015-07-07 20:02 +0200
    Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 14:08 -0400
      Re: String to Base76 "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-07 12:01 -0700
    Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-07 13:05 -0700
      Re: String to Base76 "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-07 13:24 -0700
        Re: String to Base76 Wesley <dddudeman9@gmail.comREMOVETHIS> - 2015-07-07 17:10 -0400
          Re: String to Base76 "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-07 14:53 -0700
      Re: String to Base76 wolfgang zeidler <invalid@invalid.invalid> - 2015-07-07 23:46 +0200
        Re: String to Base76 Gene Wirchenko <genew@telus.net> - 2015-07-07 15:21 -0700

csiph-web