Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 325481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:13:15+00:00 2026-05-12T09:13:15+00:00

Moving on from the first part of my problem , I’m now working on

  • 0

Moving on from the first part of my problem, I’m now working on trying to write a Classic ASP/VBScript implementation of Douglas Crockford’s Base32 Encoding.

Time is tight on this particular project, so while I am working this out on my own, I’m hoping someone has something readily at hand (or can at least whip one up faster than I can).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:13:15+00:00Added an answer on May 12, 2026 at 9:13 am

    First run… does this look about right?

    'Base32 encoding functions for shorter, less confusing verification numbers'
    Const kBase32Digits = "0123456789abcdefghjkmnpqrstvwxyz"
    'To Base32'
    Function ToBase32(ByVal lInput)
        Dim lModulo, sTemp
        Do Until lInput = 0
            lModulo = lInput Mod 32
            sTemp = Mid(kBase32Digits, lModulo + 1, 1) & sTemp
            lInput = lInput \ 32
        Loop
        ToBase32 = sTemp
    End Function
    'From Base32'
    Function FromBase32(ByVal sInput)
        Dim sTemp, sR, i,iY,lLen, zMultiplier
        sTemp = LCase(sInput)
        sTemp = Replace(sTemp,"o","0")
        sTemp = Replace(sTemp,"i","1")
        sTemp = Replace(sTemp,"l","1")
        sTemp = Replace(sTemp,"u","v")
        zMultiplier = 1
        lLen = Len(sTemp)
        For i = lLen To 1 Step -1
            sR = Mid(sTemp, i, 1)
            iY = InStr(1, kBase32Digits, sR, vbTextCompare) - 1
            FromBase32 = FromBase32 + iY * zMultiplier
            zMultiplier = zMultiplier * 32
        Next
    End Function
    

    Edit: Seems to work fine so far… I’ll go with this unless someone posts something better.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm moving on from iOS to Cocoa and trying to muddle through my first
I'm trying to verify each commit in a sequence, moving from the first to
I'm developer moving from C# to Java. Heard about new ASP net feature. <%:
I'm having a problem with getting and dropping the first value from list in
Im moving from django to pylons, is there an admin app?
As I am moving from C# to Python, I was wondering if there is
I'm moving from adobe flex to ext js 4, and I noted that in
I am considering moving from Matlab to Python/numpy for data analysis and numerical simulations.
I'm moving from a PHP background into Django development via python, mostly for the
We are moving from WebForms to MVC and and using a lot of jQuery.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.