ENCODE function (2024)

Table of Contents
Syntax Example Notes

Encodes a source character string and returnsthe encoded character string result.

Syntax

expression
An expression that results in a character string value. If youuse a constant, you must enclose it in quotation marks (" ").

Example

Thisprocedure uses the ENCODE function to disguise a password that the userenters, and then displays the encoded password:

r-encode.p

DEFINE VARIABLE password AS CHARACTER NO-UNDO FORMAT "x(16)".DEFINE VARIABLE id AS CHARACTER NO-UNDO FORMAT "x(12)".DEFINE VARIABLE n-coded-p-wrd AS CHARACTER NO-UNDO FORMAT "x(16)".SET id LABEL "Enter user id" password LABEL "Enter password" BLANK WITH CENTERED SIDE-LABELS.n-coded-p-wrd = ENCODE(password).DISPLAY n-coded-p-wrd LABEL "Encoded password".

Notes

  • Youcan use the ENCODE function to encode a string that contains double-bytecharacters.
  • The ENCODE function performs a one-way encoding operation that youcannot reverse. It is useful for storing scrambled copies of passwords ina database. It is impossible to determine the original passwordby examining the database. However, a procedure can prompt a userfor a password, encode it, and compare the result with the stored,encoded password to determine if the user supplied the correct password.
  • In order to ensure reliable results, the original encoding andany subsequent encoded comparisons must run in the same code page.In environments with multiple code pages, Progress Software Corporation strongly recommendsthat programs use the CODEPAGE-CONVERT function so that occurrencesof the ENCODE function related to the same strings run in the samecode page.
  • The output of the ENCODE function is 16 characters long. Makesure the target field size is at least 16 characters long.
ENCODE function (2024)
Top Articles
The guaranteed insurability rider
ChaCha20-Poly1305 authenticated encryption for high-speed embedded IoT applications
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Www.paystubportal.com/7-11 Login
Jennifer Hart Facebook
Brendon Tyler Wharton Height
Koordinaten w43/b14 mit Umrechner in alle Koordinatensysteme
Find All Subdomains
Kris Carolla Obituary
Lost Pizza Nutrition
Ktbs Payroll Login
Craigslist Greenville Craigslist
Sport Clip Hours
Aces Fmc Charting
Shooting Games Multiplayer Unblocked
David Turner Evangelist Net Worth
Marion County Wv Tax Maps
Transfer Credits Uncc
Fool’s Paradise movie review (2023) | Roger Ebert
Paradise leaked: An analysis of offshore data leaks
Check From Po Box 1111 Charlotte Nc 28201
Gdp E124
Charter Spectrum Store
Lola Bunny R34 Gif
north jersey garage & moving sales - craigslist
How to Download and Play Ultra Panda on PC ?
Weldmotor Vehicle.com
Temu Seat Covers
Jailfunds Send Message
TJ Maxx‘s Top 12 Competitors: An Expert Analysis - Marketing Scoop
What is Software Defined Networking (SDN)? - GeeksforGeeks
Isablove
Kelley Fliehler Wikipedia
Gus Floribama Shore Drugs
Craigslist Maryland Baltimore
Autopsy, Grave Rating, and Corpse Guide in Graveyard Keeper
Watchdocumentaries Gun Mayhem 2
Junior / medior handhaver openbare ruimte (BOA) - Gemeente Leiden
1-800-308-1977
AsROck Q1900B ITX und Ramverträglichkeit
#1 | Rottweiler Puppies For Sale In New York | Uptown
Nobodyhome.tv Reddit
10 games with New Game Plus modes so good you simply have to play them twice
Panorama Charter Portal
Rage Of Harrogath Bugged
Po Box 101584 Nashville Tn
Stosh's Kolaches Photos
John Wick: Kapitel 4 (2023)
Wolf Of Wallstreet 123 Movies
Cara Corcione Obituary
Okta Login Nordstrom
Coors Field Seats In The Shade
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 5735

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.