Community Profile

25 total contributions since 2019

View details...

Contributions in
View by

Question

How to add 1 4 key with an image size 256*256 in matlab. e.g ii=i(:,:,3); rng(78932); %agree upon a seed rand_key = uint8(...

10 jours ago | 0 answers | 0

### 0

Question

how to add a matrix with the pixel of an image
Hi I want to add a matrix with the pixels of an image.image size is 512 512 and matrix size is 2*2. I=imread('lina512.bmp'); k...

14 jours ago | 0 answers | 0

### 0

Question

how to do left and right bit rotation
Hi. I am trying to convert a matrix into 8 bit binary and then want to apply different bit rotations in different rows.e.g for r...

16 jours ago | 1 answer | 0

### 1

Question

How to encode alphabets using tables
Hi I want to encode the word "CONGRATULATIONS" using upper case letters.For this I have the table A 0 B 1 C 2 ...

20 jours ago | 1 answer | 0

### 1

Question

Gray2bin conversion
Hi I to gant to convert binary to gray. K=[1 2 0 9]; K_1=dec2bin(K); K_2=bin2gray(K_1); The results of K_1 is '0001' ...

21 jours ago | 1 answer | 0

### 1

Question

How can I convert (x,y) points(double) into cell
Hi I have set of points which I want to store as cells . 0 8 0 59 4 20 4 47 5 23 5 44 9 20 Any idea how to do this. Par...

environ un mois ago | 1 answer | 0

### 1

Question

elliptic points as cell
I want to convert elliptic curve points as cell a=0:66; left_side = mod(a.^2,67); right_side = mod(a.^3+1*a-3,67); C={}; ...

environ un mois ago | 0 answers | 0

### 0

Question

How to rearrange pixels into a new matrix form
I have 64*64 rgb image. I want to reaarange its pixels in matrix form.I.e lowest intensity value comes to the first place (1,1) ...

environ un mois ago | 1 answer | 0

### 1

Question

unique elliptic curve points
I have few points (0,8),(0,64),(28,1)(28,66),(9,47)(9,20),(54,20)(54,47),(21,10),(21,51) Is there any matlab command which chec...

environ un mois ago | 1 answer | 0

### 1

Question

converting points on cell array
Hi I want to display points as cell. but it gives error at t for i=0:n-1 t=(find({Y2}=={(X(i+1))})); if (~isempty(t)...

environ un mois ago | 0 answers | 0

### 0

Question

Image encryption and UACI
I ave encrypted an image with high entropy but UACI id 27.6. I have used randi(special seed) command to increase it but it reach...

environ un mois ago | 0 answers | 0

### 0

Question

Aarnolds cat map iterations
I have gone through the code given by image analysthttps://www.mathworks.com/matlabcentral/answers/327058-how-can-i-randomize-an...

environ un mois ago | 0 answers | 0

### 0

Question

storing values using for loop in elliptic curves
Hi I am using elliptic curves point multiplication. I have used for loop but it does not store values properly. clear all G=[7...

environ un mois ago | 1 answer | 0

### 1

Question

i am applying Arnold's transform on the pixels
Hi, I am writing a code for the following transformation T[x;y]=[x+y:x+2y] the code is n=256; I=imread('fruit1.bmp'); Red=...

environ un mois ago | 1 answer | 0

### 1

Question

Fibonacci sequence up to first 256 elements
I want to generate first 256 fibonacci sequence elments . the code is repeating a fixed number after some terms, I think that we...

environ un mois ago | 2 answers | 0

### 2

Question

how to concatinate fibonacci sequence
Hi I want to write matlab code for fibonacci wordswhichis like s(0)=0, s(1)=01, s(2)=010, s(3)=01001.... using formula s(n)=s(...

environ un mois ago | 1 answer | 0

### 1

Question

index exceeds matrix dim
I am working on 3d image encryption using 8 cross8 matrix. where image size is 256 256*3. portion of the code is attached. Can s...

environ 2 mois ago | 0 answers | 0

### 0

Question

How to get coloured layer from an rgb image in matlab.
Hi. I want to extract all three layers from rgb colour image.For red layer i want it is red colour and similarly for green layer...

environ 2 mois ago | 1 answer | 0

### 1

loop for image encryption gives error
As i m also trying to do some thing with the code. here is the complete code.It gives me an encrypted image but y size is double...

environ 2 mois ago | 0

Question

loop for image encryption gives error
I am using 8*8 matrix for image encryption but there is an error in loop which i cannot figure out why. Km=[K11 K12;K21 K22];%...

environ 2 mois ago | 2 answers | 0

### 2

Question

How to apply pc1 in matlab and get answer in 56 bit keys
I want to apply pc1 in my matlab code and answer required is in binary form but i am getting decimal number. Can some one help m...

environ 2 mois ago | 1 answer | 0

### 1

Question

I am studing DES key generation but do not know what does seed means in the code given below
I am praticing with the key generation of DES.Is it possible to generate my own key. What is seed in the code given below. f...

environ 2 mois ago | 0 answers | 0

### 0

Question

Can i fit a loop in my code
Hi i want to reduce the code size by using loops. I have used elliptic curves for generating the keys and i need 16 session key...

2 mois ago | 0 answers | 0

### 0

Question

How to use loop in my code for key generation
Hi. i want to generate 16 sub keys .Algorithm is as follows K=[k1, k2, k3, k4]%initial key and are points on elliptic curve. f...

2 mois ago | 1 answer | 0

### 1

Question

I want to double all the points on the elliptic curves in matlab
I want to double all the points on the elliptic curves .I have written a code but it gives error. Matrix A contains few points ...

2 mois ago | 1 answer | 0