2024-04-18 20:07:18 +0200 | received badge | ● Famous Question (source) |
2023-05-17 15:57:50 +0200 | received badge | ● Notable Question (source) |
2023-05-17 15:57:50 +0200 | received badge | ● Popular Question (source) |
2021-10-23 12:13:19 +0200 | received badge | ● Notable Question (source) |
2021-10-23 12:13:19 +0200 | received badge | ● Popular Question (source) |
2021-08-28 16:23:34 +0200 | received badge | ● Popular Question (source) |
2020-06-09 10:56:40 +0200 | received badge | ● Popular Question (source) |
2019-01-22 19:28:18 +0200 | asked a question | Is it possible to use OAEP in Sagemath Hey guys, I was wondering if there is any padding module/function in Sagemath for OAEP padding. OAEP is used with RSA, but I am trying to check whether I can use it with a different public key cryptosystem. Cheers |
2018-12-11 17:36:53 +0200 | asked a question | F4 and F5 implementation in Sagemath Hi all, Is there an implementation in Sagemath for the F4 and F5 algorithms that relates to Grobner bases? I found something about libsingular:slimgb, however I am not 100% sure if it is the right algorithm. Could you please let me know? Thanks |
2018-12-03 12:02:37 +0200 | commented question | Trying to get the right inverse, not possible @rburing any idea on this? |
2018-11-29 19:33:06 +0200 | commented question | Trying to get the right inverse, not possible Also, just to make it easier: https://github.com/miguelmarco/DME/tr.... The implementation I am trying it taken from the file find m1 and m2 I am following the author's code so should be simillar from my point of view |
2018-11-29 19:33:06 +0200 | received badge | ● Commentator |
2018-11-29 19:22:13 +0200 | commented question | Trying to get the right inverse, not possible Sure, it can be found here: https://www.mat.ucm.es/~iluengo/DME/p.... Also, it has a section Code where you can see the C code. |
2018-11-29 17:18:44 +0200 | commented question | Trying to get the right inverse, not possible I have to add that normally, I would want both M1 and M2 to be invertible, which it is the case when e > 9. Although when e < 9 M1 or M2 are sometimes invertible, they are not both invertible at the same time. Best to try with e = 4 |
2018-11-29 16:54:30 +0200 | asked a question | Trying to get the right inverse, not possible Hey guys, I am working on a project and I am trying to find a matrix that is invertible using the following code: However, when e < 8, it always gives me that M1 is not invertible and I do not understand whether there is an issue in my logic or not. I am however able to compute the inverse of M1 but when I multiply it with M1, I expect the identity matrix, however this is not the case when e < 8. Please try with different values of e to see this happening. Please let me know if you manage to find anything. Thanks |
2018-11-24 16:45:14 +0200 | commented answer | Finding the Groebner Basis of the following Ring. Is it possible? How could I make it work with multivariate polynomials? The last part was the one I was looking for, thanks man :) |
2018-11-24 16:44:55 +0200 | received badge | ● Supporter (source) |
2018-11-24 16:26:41 +0200 | commented answer | Finding the Groebner Basis of the following Ring. Is it possible? How could I make it work with multivariate polynomials? What I am trying to do is to convert the finite field representation into a polynomial ring with boolean coefficients.
So let's take a finite field element: What I want to do is to look at this element as a polynomial ring element, so the above element will look like:
Polynomial: Is it possible to do it in this way? |
2018-11-24 15:08:46 +0200 | asked a question | Finding the Groebner Basis of the following Ring. Is it possible? How could I make it work with multivariate polynomials? Hey guys, I am trying to compute the groebner basis of a polynomial system that looks like this: However I get an error: 'Ideal_pid' object has no attribute 'groebner_basis' I am new to Sagemath so sorry if I misunderstand something. Also, how can I possibly make R to become a multivariate system by following the same structure, using an irreducible polynomial from GF(2) as presented in this code. Thanks guys :) |
2018-11-06 11:48:34 +0200 | asked a question | How to convert an Integer to a GF representation Hi, I would like to convert an Integer to a GF, however I do not seem to find anything about this or whether it is possible or not. I am using the following code: Thank you |
2018-11-02 15:56:31 +0200 | commented answer | How to solve raising a polynomial to the power of a number mod something Thanks for letting me know, solved it :) made my understand that I should look a bit more at my logic. I will mark this as the solution, however, the inverse was not the issue here. |
2018-11-02 12:54:08 +0200 | commented answer | How to solve raising a polynomial to the power of a number mod something It is not this: |
2018-11-01 18:35:30 +0200 | commented answer | How to solve raising a polynomial to the power of a number mod something It doesn't help, I want to be able to keep the exponent modulo such that it reduces when I multiply it with its inverse, as in Diffie Helman |
2018-11-01 15:56:09 +0200 | commented question | How to solve raising a polynomial to the power of a number mod something K is GF(2^48) and x is a vector of K elements |
2018-11-01 14:56:30 +0200 | commented question | How to solve raising a polynomial to the power of a number mod something Edited with the code. Sorry for my code being very messy |
2018-11-01 14:55:44 +0200 | received badge | ● Editor (source) |
2018-11-01 14:46:34 +0200 | asked a question | How to solve raising a polynomial to the power of a number mod something I want to raise the polynomial vec1[0] to the power of a number mod x (vec1[0])^Binv[0][0], however when I do that, I receive the following message: unsupported operand type(s) for &: 'sage.rings.finite_rings.integer_mod.IntegerMod_gmp' and 'int' When I change Binv[0][0] to be an integer, everything works fine, however, this is not what I want to achieve. Is there any workaround to this? |
2018-10-30 21:49:46 +0200 | marked best answer | Creating a matrix that has elements part of a GF I am currently doing some implementation but I have something that I do not seem to find online and bugged me for a few hours: When I do this, it print 0, but given that I created it in GF(2^(e*2)), I believe it shouldn't. Because of this, when I try to get the inverse of this matrix, which is invertible, I do not get anything. Please let me know if you have any thoughts. |
2018-10-30 21:49:46 +0200 | received badge | ● Scholar (source) |
2018-10-26 17:39:23 +0200 | received badge | ● Student (source) |