Results 1 to 3 of 3
  1. #1
    Eranka is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    150

    Encrypting A Table Filed

    Hi



    I know that a access table field can be changed to password to show as ****** but i would like to know whether is there is a way to encrypt a table field other than previously mentioned way?

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    AFAIK, you would have to write your own encryption routine or use one that's been published already. It involves replacing a regular character with one from the extended ascii set. Is this the sort of thing you're referring to?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,127
    Yes it's possible in much the way micron suggested.
    For example, although it's generally best to avoid storing passwords in databases, in some cases I need to do so .... but always encrypted.
    This involves using an algorithm with an encryption key.
    I have two methods:

    a) cp/ucp - to encrypt / decrypt respectively which for simple strings involve simple character shifting
    For example: cp("Eranka") => Kxgtqg ; ucp("Kxgtqg") => Eranka

    Not very difficult to decode.
    However make the string slightly more complex & it works far better
    cp("Eranka123") => N{jwtj:;<
    cp("Eranka1234")=>O|kxuk;<=>
    cp("Eranka1234A")=> P}lyvl<=>?L

    See if you can decipher the code
    Try cp("Ridders52") as a challenge!

    b) RC4 - which provides stronger encryption based on a larger character set but also needs more complex coding
    Here are a few examples

    Password Pwd
    ƪ8"Ž metals
    ʬ>:”J4 acrylicss
    “ÿ+"“L3 80garnet
    æ‡ .· MHGPZJ
    Ø®!.
    Ì
    sammy1
    ܪ?7“H#šuC westonadam44
    ê¼$+‘EqM Ashholl66
    Ù®('ŽA raddish

    Notice that identical letters aren't encrypted the same and the length of the encrypted version isn't identical to the original string
    For obvious reasons, I don't intend to post the code for either method here.
    Send me a PM or email me if you want to know more
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 09-16-2012, 10:20 AM
  2. Password Encrypting Database Table
    By data808 in forum Access
    Replies: 4
    Last Post: 08-27-2012, 12:57 AM
  3. Encrypting a field
    By tgavin in forum Security
    Replies: 3
    Last Post: 07-17-2012, 08:23 AM
  4. Encrypting Forms
    By Dallas in forum Forms
    Replies: 4
    Last Post: 05-13-2011, 04:15 PM
  5. encrypting passwords in a SQL statement using c++
    By princess-1 in forum Security
    Replies: 5
    Last Post: 10-21-2010, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums