This is not an assignment; this is a real time challenge. Apologies for not articulating problem in the correct manner and fully explaining the issue.
Maybe calling it a masking solution is not the right thing. My actual requirement is to replace a set of characters with another set of character. That too a character by character replacement so reverse decryption can be easily achieved as well.
As it’s character by character replacement every character will have one and only one replacement character. Hence ABCDE should convert to BCDEF where replacement algorithm is like
The first character to be found and replaced by second character.
Is it possible for a internal LAN to mask a IP e.g. i have a server ip running the intranet ip being 192.168.0.8 and i want to make that like www.intranet.com is this possible on a internal network ? (1 Reply)
Hello,
I need to know that whether a content of a string can be hidden or masked inside a shell script.
My Sample Code is given below
<Code>
#!/usr/bin/ksh
Userid=test
DB=temp
Passwd=`java Decryption test`
# The Above command will get the encryped password for "test" user id and store... (2 Replies)
I have a pipe delimited file that I need to 'mask' to before loading to keep some data confidential. I need to maintain the first 4 bytes of certain columns and replace the remaining bytes with an 'x'. I would like to maintain spaces but it's not a requirement.
Example, need to mask columns 2... (2 Replies)
I am trying to redirect my site to another with masking using .htaccess.
I have the redirect working, but it does not mask. Here is what I have in my .htaccess:
RewriteEngine On
rewritecond %{http_host} ^http://www.securepaynet.net/default.aspx?ci=1767&prog_id=globalnerds
RewriteRule /... (0 Replies)
Hi I am facing an issue with the below script which has the below line
each field being separated with a tab.
I need to mask the 8 and 7th field based on following conditions
1. 8th field is 16 in length and is numerics
i will mask the middle 6 digits except the first 6 and last 4.
input... (2 Replies)
I am looking to forward the following with masking via my .htaccess file:
www.mywebsite.com/origpage www.mywebsite.com/newpage
I do not want to forward the entire site, just this one page with masking. Neither page has an extension. I am able to forward with .htaccess - but it does not mask the... (1 Reply)
So I've been working on this for some time now and can't seem to find the solution that works for me. I'm working in C/Unix. Basically, I want to take a user input and output something different. For example, I want to take a password and output *'s. In another instance, I want to take inputed... (35 Replies)
My file "test.dat" data as below
Requirement is to mask(replace) all english characters with "X" EXCEPT first 7 characters of every line.
my command
awk '{gsub("]","X")}1' test.dat
looks not working properly, Appreciate any suggestion... (6 Replies)
Discussion started by: JSKOBS
6 Replies
LEARN ABOUT OSF1
xmtextfieldreplacewcs
XmTextFieldReplaceWcs(3X)XmTextFieldReplaceWcs(3X)NAME
XmTextFieldReplaceWcs - A TextField function that replaces part of a wide character string in a TextField widget
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldReplaceWcs (widget, from_pos, to_pos, wcstring)
Widget widget;
XmTextPosition from_pos;
XmTextPosition to_pos;
wchar_t *wcstring;
DESCRIPTION
XmTextFieldReplaceWcs replaces part of the wide character string in the TextField widget. The character positions begin at zero and are
numbered sequentially from the beginning of the text.
An example text replacement would be to replace the second and third characters in the text string. To accomplish this, the parameter
from_pos must be 1 and to_pos must be 3. To insert a string after the fourth character, both parameters, from_pos and to_pos, must be 4.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall-
backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed
first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. Specifies the TextField widget ID Specifies the start
position of the text to be replaced Specifies the end position of the text to be replaced Specifies the wide character string value to be
added to the TextField widget
For a complete definition of TextField and its associated resources, see XmTextField(3X).
SEE ALSO XmTextField(3X), XmTextFieldReplace(3X)XmTextFieldReplaceWcs(3X)